diff --git a/classes/testing_outcome.php b/classes/testing_outcome.php index 51d197e1..d33fd526 100644 --- a/classes/testing_outcome.php +++ b/classes/testing_outcome.php @@ -243,8 +243,8 @@ protected function format_failed_test($rownum, $code, $expected, $got, $sanitise ); $gotpre = html_writer::tag( 'pre', - $got instanceof qtype_coderunner_html_wrapper ? $got->value() : $got, - ['id' => 'id_got_' . $rownum] + $got instanceof qtype_coderunner_html_wrapper ? $got->value() : $got, + ['id' => 'id_got_' . $rownum] ); $button = html_writer::tag('button', '<<', [ 'type' => 'button', // To suppress form submission.