exercism/zig/hello-world/test_hello_world.zig

11 lines
258 B
Zig
Raw Normal View History

2024-01-03 03:10:04 -05:00
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);
}