From 60b1cc983c65654552c4b4a0d52114248ae0228f Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 30 Jun 2020 08:36:18 +0530 Subject: Fix Tests --- yaksh/evaluator_tests/test_c_cpp_evaluation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'yaksh/evaluator_tests/test_c_cpp_evaluation.py') diff --git a/yaksh/evaluator_tests/test_c_cpp_evaluation.py b/yaksh/evaluator_tests/test_c_cpp_evaluation.py index 14ed808..242d0b0 100644 --- a/yaksh/evaluator_tests/test_c_cpp_evaluation.py +++ b/yaksh/evaluator_tests/test_c_cpp_evaluation.py @@ -822,7 +822,8 @@ class CppHookEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get('success')) - self.assert_correct_output('Incorrect Answer', result.get('error')) + self.assert_correct_output('Incorrect Answer', + result.get('error')[0]['message']) def test_assert_with_hook(self): # Given -- cgit