Add more test_strconv_parse_number_u64 test cases

This commit is contained in:
Nigel Tao committed 2020-03-04 22:18:56 +11:00
1 parent 0cd2f986bf
commit 757a4bd68c
4 files changed
+14 -6

No files matched your search

+6
View File
@@ -161,6 +161,12 @@ test_strconv_parse_number_u64() {
{.want = fail, .str = "-0"},
{.want = fail, .str = "-1"},
{.want = fail, .str = "0 "},
{.want = fail, .str = "00"},
{.want = fail, .str = "000000x"},
{.want = fail, .str = "000000x0"},
{.want = fail, .str = "007"},
{.want = fail, .str = "0644"},
{.want = fail, .str = "0_0"},
{.want = fail, .str = "0_x1"},
{.want = fail, .str = "0d___"},
{.want = fail, .str = "0x"},