Fix usage on 32bit machines
This commit is contained in:
+3
-3
@@ -110,7 +110,7 @@ func TestPathSliceStart(t *testing.T) {
|
||||
assertPath(t,
|
||||
"$[123:]",
|
||||
buildPath(
|
||||
newMatchSliceFn(123, math.MaxInt64, 1),
|
||||
newMatchSliceFn(123, math.MaxInt32, 1),
|
||||
))
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ func TestPathSliceStartStep(t *testing.T) {
|
||||
assertPath(t,
|
||||
"$[123::7]",
|
||||
buildPath(
|
||||
newMatchSliceFn(123, math.MaxInt64, 7),
|
||||
newMatchSliceFn(123, math.MaxInt32, 7),
|
||||
))
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ func TestPathSliceStep(t *testing.T) {
|
||||
assertPath(t,
|
||||
"$[::7]",
|
||||
buildPath(
|
||||
newMatchSliceFn(0, math.MaxInt64, 7),
|
||||
newMatchSliceFn(0, math.MaxInt32, 7),
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user