Commit 61ba43b0 authored by Tim Hunt's avatar Tim Hunt
Browse files

MDL-47494 gapselect: Fix incorrect preg_quote usage.

parent 8aaa057e
......@@ -102,7 +102,7 @@ class qtype_gapselect_walkthrough_test extends qbehaviour_walkthrough_test_base
$this->get_contains_try_again_button_expectation(true),
$this->get_does_not_contain_correctness_expectation(),
new question_pattern_expectation('/' . preg_quote(
get_string('notcomplete', 'qbehaviour_interactive')) . '/'),
get_string('notcomplete', 'qbehaviour_interactive'), '/') . '/'),
$this->get_contains_hint_expectation('This is the first hint'));
// Do try again.
......
Supports Markdown
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