Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (build/)$./zig test ../lib/std/zig/parser_test.zig
- Test [206/292] test "zig fmt: switch multiline string"...
- ====== expected this output: =========
- test "switch multiline string" {
- const x: u32 = 0;
- const str = switch (x) {
- 1 => "one",
- 2 =>
- \\ Comma after the multiline string
- \\ is needed
- ,
- 3 => "three",
- else => "else",
- };
- }
- ▒Documents/personal/zig/lib/std/zig/parser_test.zig:4937:39: 0x22cff8 in testTransform (test)
- std.testing.expectEqualStrings(expected_source, result_source);
- ^
- /mnt/c/Users/legaul/Documents/personal/zig/lib/std/zig/parser_test.zig:4978:25: 0x22d3c8 in testCanonical (test)
- return testTransform(source, source);
- ^
- /mnt/c/Users/legaul/Documents/personal/zig/lib/std/zig/parser_test.zig:3044:22: 0x22a80a in test "zig fmt: switch multiline string" (test)
- try testCanonical(
- ^
- /mnt/c/Users/legaul/Documents/personal/zig/build/lib/zig/std/special/test_runner.zig:69:28: 0x294528 in std.special.main (test)
- } else test_fn.func();
- ^
- /mnt/c/Users/legaul/Documents/personal/zig/build/lib/zig/std/start.zig:345:37: 0x22d964 in std.start.posixCallMainAndExit (test)
- const result = root.main() catch |err| {
- ^
- /mnt/c/Users/legaul/Documents/personal/zig/build/lib/zig/std/start.zig:163:5: 0x22d802 in std.start._start (test)
- @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
- ^
- error: the following test command crashed:
- ../lib/std/zig/zig-cache/o/9e249e787943a4124b73ec300c2230b2/test /mnt/c/Users/legaul/Documents/personal/zig/build/zig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement