hcl/scanner: add test for negative number

This commit is contained in:
Mitchell Hashimoto 2016-02-07 12:07:40 -08:00
parent a01f759c89
commit 4cae6d33fa

View File

@ -131,6 +131,7 @@ var tokenLists = map[string][]tokenPair{
{token.NUMBER, "-00"},
{token.NUMBER, "-01"},
{token.NUMBER, "-07"},
{token.NUMBER, "-29"},
{token.NUMBER, "-042"},
{token.NUMBER, "-01234567"},
{token.NUMBER, "-0x0"},