Jeroen van Rijn 3 years ago
parent
commit
52e60526ef
1 changed files with 5 additions and 5 deletions
  1. 5 5
      tests/core/encoding/varint/test_core_varint.odin

+ 5 - 5
tests/core/encoding/varint/test_core_varint.odin

@@ -129,12 +129,12 @@ ULEB_Test_Vector :: struct {
 
 
 ULEB_Vectors :: []ULEB_Test_Vector{
 ULEB_Vectors :: []ULEB_Test_Vector{
 	{ []u8{0x00},             0,         1, .None },
 	{ []u8{0x00},             0,         1, .None },
-    { []u8{0x7f},             127,       1, .None },
+	{ []u8{0x7f},             127,       1, .None },
 	{ []u8{0xE5, 0x8E, 0x26}, 624485,    3, .None },
 	{ []u8{0xE5, 0x8E, 0x26}, 624485,    3, .None },
-    { []u8{0x80},             0,         0, .Buffer_Too_Small },
-    { []u8{},                 0,         0, .Buffer_Too_Small },
+	{ []u8{0x80},             0,         0, .Buffer_Too_Small },
+	{ []u8{},                 0,         0, .Buffer_Too_Small },
 
 
-    { []u8{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03}, max(u128), 19, .None },
+	{ []u8{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03}, max(u128), 19, .None },
 }
 }
 
 
 ILEB_Test_Vector :: struct {
 ILEB_Test_Vector :: struct {
@@ -149,7 +149,7 @@ ILEB_Vectors :: []ILEB_Test_Vector{
 	{ []u8{0x3f},             63,      1, .None },
 	{ []u8{0x3f},             63,      1, .None },
 	{ []u8{0x40},             -64,     1, .None },
 	{ []u8{0x40},             -64,     1, .None },
 	{ []u8{0xC0, 0xBB, 0x78}, -123456, 3, .None },
 	{ []u8{0xC0, 0xBB, 0x78}, -123456, 3, .None },
-    { []u8{},                 0,       0, .Buffer_Too_Small },
+	{ []u8{},                 0,       0, .Buffer_Too_Small },
 
 
 	{ []u8{0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7e}, min(i128), 19, .None },
 	{ []u8{0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7e}, min(i128), 19, .None },
 	{ []u8{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01}, max(i128), 19, .None },
 	{ []u8{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01}, max(i128), 19, .None },