testing_failure.zig (180B) - Raw
1 const std = @import("std"); 2 3 test "expect this to fail" { 4 try std.testing.expect(false); 5 } 6 7 test "expect this to succeed" { 8 try std.testing.expect(true); 9 } 10 11 // test_error=
zigfork of https://codeberg.org/ziglang/zig | |
| Log | Files | Refs | README | LICENSE |