mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +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
1 changed files with 1 additions and 0 deletions
|
|
@ -1249,6 +1249,7 @@ test "vector" {
|
|||
|
||||
test "enum-literal" {
|
||||
try expectFmt(".hello_world", "{}", .{.hello_world});
|
||||
try expectFmt("hello_world", "{t}", .{.hello_world});
|
||||
}
|
||||
|
||||
test "padding" {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue