Skip to content

Commit 0e3417a

Browse files
committed
Fix test.sh
1 parent a39ad04 commit 0e3417a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ NIX_BUILD_ARGS="${NIX_BUILD_ARGS:-}"
99

1010
cd $(dirname $0)
1111

12-
if [ "$#" < "1" ]; then
12+
if [[ "$#" -lt 1 ]]; then
1313
echo "Please pass a compiler-nix-name to use. For example: ./test/tests.sh ghc884"
1414
exit 1
15-
elif [ "$#" > "1" ]; then
15+
elif [[ "$#" -gt 1 ]]; then
1616
TESTS="$2"
1717
else
1818
TESTS="all"

0 commit comments

Comments
 (0)