test: set case name from initial filename for a sequence
Port more incremental tests.
This commit is contained in:
10
test/incremental/assert_function.15.zig
Normal file
10
test/incremental/assert_function.15.zig
Normal file
@@ -0,0 +1,10 @@
|
||||
pub fn main() void {
|
||||
assert("hello"[0] == 'h');
|
||||
}
|
||||
|
||||
pub fn assert(ok: bool) void {
|
||||
if (!ok) unreachable; // assertion failure
|
||||
}
|
||||
|
||||
// run
|
||||
//
|
||||
Reference in New Issue
Block a user