Skip to content

Commit 17c2d22

Browse files
committed
yet another fixed sample for encoder
1 parent bf2e7c6 commit 17c2d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decimal/decimal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ var decimalBCDEncode = []struct {
156156
{[]byte{0x0, 0xa}, "0"}, // d501000c
157157
{[]byte{0x0, 0xb}, "-0"}, // d501000d
158158

159-
//{[]byte{0x00, 0x09, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x9a}, "99999999999999999999999999999999999999"}, // c7150100099999999999999999999999999999999999999c
159+
{[]byte{0x00, 0x09, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x9a}, "99999999999999999999999999999999999999"}, // c7150100099999999999999999999999999999999999999c
160160
{[]byte{0x00, 0x09, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x9b}, "-99999999999999999999999999999999999999"}, // c7150100099999999999999999999999999999999999999d
161161

162162
{[]byte{0x02, 0x01, 0x23, 0x4b}, "-12.34"}, // d6010201234d

0 commit comments

Comments
 (0)