Commit 4a370c9f authored by Johannes Bechberger's avatar Johannes Bechberger

Fix swapping out and err

parent f17b62b1
......@@ -17,7 +17,7 @@ class BasicSyntaxTest(TestCase):
return self._should_succeed
def short_name(self) -> str:
return path.basename(self.file)[:-3]
return path.basename(self.file)
def run(self) -> BasicTestResult:
out, err, rtcode = self.env.run_mj_command(self.MODE, self.file)
......
......@@ -238,7 +238,7 @@ class TestResult:
class BasicTestResult(TestResult):
def __init__(self, test_case: TestCase, error_code: int, error_output: str, output: str):
def __init__(self, test_case: TestCase, error_code: int, output: str, error_output: str):
super().__init__(test_case, error_code)
self._contains_error_str = "error" in error_output
self.error_output = error_output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment