summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-02-19 23:21:06 -0300
committerGabriel Schneider <[email protected]>2026-02-19 23:21:06 -0300
commit169ba71c6ca54be373a3bbccf17ba199bba17ca8 (patch)
treeff7edd742f5e95f9e14e395434e124341696b7ab /tests
parentcea7000b4c911166faa90a6d0516ca0f12920fbb (diff)
downloadcodenomicon-169ba71c6ca54be373a3bbccf17ba199bba17ca8.tar.gz
codenomicon-169ba71c6ca54be373a3bbccf17ba199bba17ca8.zip
added option to run with gdb
Diffstat (limited to 'tests')
-rw-r--r--tests/test.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test.zig b/tests/test.zig
new file mode 100644
index 0000000..8351b50
--- /dev/null
+++ b/tests/test.zig
@@ -0,0 +1,8 @@
+const std = @import("std");
+const opts = @import("meta");
+const assert = std.debug.assert;
+
+test "always pass" {
+ if (opts.gdb) @breakpoint();
+ assert(true);
+}