mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
test: add test case for enum-literal with '{t}' format
Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
This commit is contained in:
@@ -1249,6 +1249,7 @@ test "vector" {
|
||||
|
||||
test "enum-literal" {
|
||||
try expectFmt(".hello_world", "{}", .{.hello_world});
|
||||
try expectFmt("hello_world", "{t}", .{.hello_world});
|
||||
}
|
||||
|
||||
test "padding" {
|
||||
|
||||
Reference in New Issue
Block a user