hcl/parser: test case for error in "10kb"

https://github.com/hashicorp/terraform/issues/3287#issuecomment-195779840
This commit is contained in:
Mitchell Hashimoto 2016-08-22 14:41:45 -07:00
parent bc40da04e8
commit baeb59c710
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A

View File

@ -397,6 +397,7 @@ func TestParse_inline(t *testing.T) {
{"N{}N{{}}", true},
{"v\nN{{}}", true},
{"v=/\n[,", true},
{"v=10kb", true},
}
for _, tc := range cases {