test: add test case for enum-literal with '{t}' format

Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
This commit is contained in:
snoire 2025-11-06 13:44:53 +08:00
parent ffb0050d81
commit b4b54b597d

View File

@ -1249,6 +1249,7 @@ test "vector" {
test "enum-literal" {
try expectFmt(".hello_world", "{}", .{.hello_world});
try expectFmt("hello_world", "{t}", .{.hello_world});
}
test "padding" {