Commit a753d3ba authored by Johannes Bechberger's avatar Johannes Bechberger

Fix small bug

parent c5e452f4
......@@ -95,7 +95,7 @@ class JavaExecTest(BasicSyntaxTest):
if not self._only_compile:
exp_out, err, java_rtcode = \
self.env.run_command("java", get_main_class_name(base_filename + ".java"), timeout=timeout, input_bytes=input_bytes)
if javac_rtcode != 0:
if java_rtcode != 0:
test_result.add_long_text("Java output: ", decode(exp_out))
test_result.incorrect_msg = "java runtime error"
test_result.set_error_code(java_rtcode)
......
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