commit 97c0800f960d021f3dc484812efe249489d29e9c
parent f9f08ebcd7cc5619b7fe6bc00014f1ac37603241
Author: francoispqt <francois@parquet.ninja>
Date: Sun, 20 May 2018 00:20:23 +0800
update tests for uint
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/decode_number_uint_test.go b/decode_number_uint_test.go
@@ -169,7 +169,7 @@ func TestDecoderUint32(t *testing.T) {
},
{
name: "basic-positive2",
- json: "1039405",
+ json: " 1039405 ",
expectedResult: 1039405,
},
{
@@ -322,7 +322,7 @@ func TestDecoderUint16(t *testing.T) {
},
{
name: "basic-positive2",
- json: "3224",
+ json: " 3224 ",
expectedResult: 3224,
},
{
@@ -496,7 +496,7 @@ func TestDecoderUint8(t *testing.T) {
},
{
name: "basic-positive2",
- json: "255",
+ json: " 255 ",
expectedResult: 255,
},
{