diff --git a/src/org/rascalmpl/library/lang/rascal/tests/basic/Lists.rsc b/src/org/rascalmpl/library/lang/rascal/tests/basic/Lists.rsc index 9aea9e1134e..deda66b7cc2 100644 --- a/src/org/rascalmpl/library/lang/rascal/tests/basic/Lists.rsc +++ b/src/org/rascalmpl/library/lang/rascal/tests/basic/Lists.rsc @@ -185,7 +185,7 @@ test bool sliceFirstSecond(list[int] L) { return L[f, f + incr..] == makeSlice(L, f, f + incr, size(L)); } -test bool sliceEmpty(int from, int to) = [][from..to] == []; +test bool sliceEmpty(int from, int to) = [][from % 32768 .. to % 32768] == []; test bool sliceOverEnd() = [0][1..] == [];