Skip to content

Commit 08cffd0

Browse files
committed
Minor change to automatic tester.
1 parent 2dc7135 commit 08cffd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tester.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def run(fName, result):
3535
#output=subprocess.Popen(['./do.sh', "fib.pls"], stdout = subprocess.PIPE,stderr = subprocess.PIPE)
3636
output=subprocess.Popen(['sh','pls.sh', fName], stdout = subprocess.PIPE,stderr = subprocess.PIPE)
3737
concline = ''.join(output.stdout.readlines() )
38-
if result in concline:
38+
if result.replace("\r","") in concline.replace("\r",""):
3939
return True
4040
return False
4141

0 commit comments

Comments
 (0)