Skip to content

Commit

Permalink
remove -j option in tests expath#39 (expath#49)
Browse files Browse the repository at this point in the history
* remove -j option in tests for shell and batch scripts expath#39
  • Loading branch information
Sandro Cirulli authored Jan 8, 2017
1 parent 5d6459b commit 1a92c65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/xspec-bat.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ setlocal
set EXPECTED_REPORT=..\tutorial\xspec\escape-for-regex-result.xml
call :del "%EXPECTED_REPORT%"

call :run ..\bin\xspec.bat -j ..\tutorial\escape-for-regex.xspec
call :run ..\bin\xspec.bat ..\tutorial\escape-for-regex.xspec
call :verify_exist "%EXPECTED_REPORT%"

call :end
Expand All @@ -164,7 +164,7 @@ setlocal
set EXPECTED_REPORT=..\tutorial\xspec\escape-for-regex-result.html
call :del "%EXPECTED_REPORT%"

call :run ..\bin\xspec.bat -j ..\tutorial\escape-for-regex.xspec
call :run ..\bin\xspec.bat ..\tutorial\escape-for-regex.xspec
call :verify_exist "%EXPECTED_REPORT%"

call :end
Expand Down
4 changes: 2 additions & 2 deletions test/xspec.bats
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@


@test "invoking xspec generates XML report file" {
run ../bin/xspec.sh -j ../tutorial/escape-for-regex.xspec
run ../bin/xspec.sh ../tutorial/escape-for-regex.xspec
run stat ../tutorial/xspec/escape-for-regex-result.xml
echo $output
[ "$status" -eq 0 ]
}

@test "invoking xspec generates HTML report file" {
run ../bin/xspec.sh -j ../tutorial/escape-for-regex.xspec
run ../bin/xspec.sh ../tutorial/escape-for-regex.xspec
run stat ../tutorial/xspec/escape-for-regex-result.html
echo $output
[ "$status" -eq 0 ]
Expand Down

0 comments on commit 1a92c65

Please sign in to comment.