mirror of
https://github.com/ziglang/zig.git
synced 2025-12-15 18:53:07 +00:00
test: add test case for enum-literal with '{t}' format
Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
This commit is contained in:
parent
ffb0050d81
commit
b4b54b597d
@ -1249,6 +1249,7 @@ test "vector" {
|
|||||||
|
|
||||||
test "enum-literal" {
|
test "enum-literal" {
|
||||||
try expectFmt(".hello_world", "{}", .{.hello_world});
|
try expectFmt(".hello_world", "{}", .{.hello_world});
|
||||||
|
try expectFmt("hello_world", "{t}", .{.hello_world});
|
||||||
}
|
}
|
||||||
|
|
||||||
test "padding" {
|
test "padding" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user