diff options
| author | ruki <[email protected]> | 2022-11-14 22:45:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-11-14 22:45:28 +0800 |
| commit | 447b55d0e8f007bc5c5164cf92fdff47904192a2 (patch) | |
| tree | 16e3e94c62069edd77bbcc80261568a70c5233d5 /tests/projects/zig/console/src/main.zig | |
| parent | 95cae7f6f15abf2f4f78fcd03bdb7647920dbb63 (diff) | |
update zig tests
Diffstat (limited to 'tests/projects/zig/console/src/main.zig')
| -rw-r--r-- | tests/projects/zig/console/src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/zig/console/src/main.zig b/tests/projects/zig/console/src/main.zig index 56b206650..259e332e6 100644 --- a/tests/projects/zig/console/src/main.zig +++ b/tests/projects/zig/console/src/main.zig @@ -2,5 +2,5 @@ const std = @import("std"); pub fn main() !void { const stdout = std.io.getStdOut().writer(); - try stdout.print("Hello, {}!\n", .{"world"}); + try stdout.print("Hello, {s}!\n", .{"world"}); } |
