diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-04 21:55:39 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-04 21:55:39 +0200 |
| commit | ea46bd2772daa397e7287352f60da062a1ea4247 (patch) | |
| tree | a0fd9f6e8ca822ad9e897150af42339f9ba13ca4 /test/cli/options/src | |
| parent | 5bbbc8d29906aaaf3ffbe43ee10d9bc7acc321ea (diff) | |
| download | zig-ea46bd2772daa397e7287352f60da062a1ea4247.tar.gz zig-ea46bd2772daa397e7287352f60da062a1ea4247.zip | |
test: move standalone/options/ to cli/options/
It's now used only by test-cli, so make that clear.
Diffstat (limited to 'test/cli/options/src')
| -rw-r--r-- | test/cli/options/src/main.zig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/cli/options/src/main.zig b/test/cli/options/src/main.zig new file mode 100644 index 0000000000..e2bbe254c5 --- /dev/null +++ b/test/cli/options/src/main.zig @@ -0,0 +1,12 @@ +const std = @import("std"); +const assert = std.debug.assert; + +const build_options = @import("build_options"); + +test "build options" { + comptime assert(build_options.bool_true); + comptime assert(!build_options.bool_false); + comptime assert(build_options.int == 1234); + comptime assert(build_options.e == .two); + comptime assert(std.mem.eql(u8, build_options.string, "hello")); +} |
