exercism/zig/hello-world/test_hello_world.zig
2024-01-03 03:10:04 -05:00

10 lines
258 B
Zig

const std = @import("std");
const testing = std.testing;
const hello_world = @import("hello_world.zig");
test "say hi!" {
const expected = "Hello, World!";
const actual = hello_world.hello();
try testing.expectEqualStrings(expected, actual);
}