Skip to content

Commit fc4631b

Browse files
Improve checker with forum comments (#30)
1 parent 24485c2 commit fc4631b

File tree

1 file changed

+1
-1
lines changed
  • teme/proiect-etapa2-league-of-oop/checker

1 file changed

+1
-1
lines changed

teme/proiect-etapa2-league-of-oop/checker/checker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function checkTest
3232
java main.Main "$RESOURCES_DIRECTORY/in/$1.in" "$RESOURCES_DIRECTORY/out/$1.out" > /dev/null
3333

3434
if [ $? -eq 0 ]; then
35-
`diff -Bw -u --ignore-all-space $RESOURCES_DIRECTORY/out/$1.out $RESOURCES_DIRECTORY/res/$1.in.res &> /dev/null`
35+
`diff -Bw -u --ignore-all-space "$RESOURCES_DIRECTORY/out/$1.out" "$RESOURCES_DIRECTORY/res/$1.in.res" &> /dev/null`
3636
DIFF_RESULT=$?
3737

3838
if [ $DIFF_RESULT -eq 0 ]; then

0 commit comments

Comments
 (0)