From b47ad50d420fcbd69cbaff8770b9e773cc3f802f Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Tue, 3 Mar 2015 11:33:20 +0100 Subject: [PATCH] Fixed: Made the compiler manual test cases work again --- Tests/Manual/CompilationTests/TestCases/7.j | 2 +- Tests/Manual/CompilationTests/run.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/Manual/CompilationTests/TestCases/7.j b/Tests/Manual/CompilationTests/TestCases/7.j index cdff5aeda..a2202e387 100644 --- a/Tests/Manual/CompilationTests/TestCases/7.j +++ b/Tests/Manual/CompilationTests/TestCases/7.j @@ -7,7 +7,7 @@ Error on line 10001 of file [unknown] SyntaxError: @implementation MyType : CPObject ^ -ERROR line 5 in file:[__PATH__]: MyType is already declared as type +ERROR line 5 in file:[__PATH__]: MyType is already declared as a type END_EXPECTED */ diff --git a/Tests/Manual/CompilationTests/run.py b/Tests/Manual/CompilationTests/run.py index e21eebaa3..b827faa8b 100755 --- a/Tests/Manual/CompilationTests/run.py +++ b/Tests/Manual/CompilationTests/run.py @@ -55,6 +55,7 @@ def cleanup_output(output): output = output.replace(" ", "") output = output.replace("\n", "") output = output.replace("[0m", "") + output = re.sub('\d*offile\[unknown\]', '', output) return re.sub('[^\s!-~]', '', output)