print array of quoted strings

This commit is contained in:
Michael Davidsaver
2020-05-31 12:48:12 -07:00
parent 92ea351ebf
commit d6156890f4
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -374,7 +374,7 @@ void testFormat()
" } scalar\n"
" struct {\n"
" int32_t[] i32 = {4}[1, -1, 2, -3]\n"
" string[] s = {3}[one, two, three]\n"
" string[] s = {3}[\"one\", \"two\", \"three\"]\n"
" any[] wildcard [\n"
" string = \"simple\"\n"
" null\n"
@@ -407,7 +407,7 @@ void testFormat()
"scalar.choice->one int32_t = 1024\n"
"array struct\n"
"array.i32 int32_t[] = {4}[1, -1, 2, -3]\n"
"array.s string[] = {3}[one, two, three]\n"
"array.s string[] = {3}[\"one\", \"two\", \"three\"]\n"
"array.wildcard any[]\n"
"array.wildcard[0] string = \"simple\"\n"
"array.wildcard[1] null\n"