hcl/parser: more negative number tests

This commit is contained in:
Mitchell Hashimoto 2016-02-07 12:08:28 -08:00
parent 4cae6d33fa
commit 8cc8107682

View File

@ -19,6 +19,7 @@ func TestType(t *testing.T) {
}{
{token.STRING, `foo = "foo"`},
{token.NUMBER, `foo = 123`},
{token.NUMBER, `foo = -29`},
{token.FLOAT, `foo = 123.12`},
{token.FLOAT, `foo = -123.12`},
{token.BOOL, `foo = true`},