Boolean values

This commit is contained in:
Thomas Pelletier
2021-02-01 19:19:40 -05:00
parent 1c7e9fe3af
commit fd961100c1
2 changed files with 104 additions and 9 deletions
+9 -9
View File
@@ -15,15 +15,15 @@ func TestParse(t *testing.T) {
`#`,
"\n\n\n",
"#one\n # two \n",
`a`,
`abc`,
` abc # foo`,
`'abc'`,
`"foo bar"`,
`"hello\tworld"`,
`"hello \u1234 foo"`,
`a.b.c`,
`a."b".c`,
`a = false`,
`abc = false`,
` abc = false # foo`,
`'abc' = false`,
`"foo bar" = false`,
`"hello\tworld" = false`,
`"hello \u1234 foo" = false`,
`a.b.c = false`,
`a."b".c = true`,
}
for i, data := range inputs {