Support unmarshaling up to uint64 (#608)

This commit is contained in:
Wendell Sun
2021-09-28 07:11:21 +08:00
committed by GitHub
parent b8ba995eaa
commit c42c3365f3
3 changed files with 31 additions and 25 deletions
+7
View File
@@ -1162,3 +1162,10 @@ str3 = """\
t.Errorf("expected '%s', got '%s'", expected, got)
}
}
func TestUint(t *testing.T) {
tree, err := Load("hello = 18446744073709551615")
assertTree(t, tree, err, map[string]interface{}{
"hello": uint64(math.MaxUint64),
})
}