Skip to content

Commit

Permalink
test(qunit-tap): use grep instead of bash specific feature
Browse files Browse the repository at this point in the history
  • Loading branch information
twada committed Jun 20, 2016
1 parent 9a62ea4 commit a33f1dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/version_compatibility_phantomjs.sh
Expand Up @@ -14,7 +14,8 @@ fi
NUM=1
for version in $TEST_SUITES
do
if [[ $version =~ ^1.[0-6].*$ ]]; then
echo $version | grep -sq '^1\.[0-6]\.0$'
if [ "$?" -eq 0 ]; then
SUITE_FILE_NAME=test_old_versions.html
else
SUITE_FILE_NAME=test_compat.html
Expand Down

0 comments on commit a33f1dc

Please sign in to comment.