MDL-47494 gapselect: Fix incorrect preg_quote usage.

This commit is contained in:
Tim Hunt
2013-01-15 14:52:01 +00:00
parent 8aaa057e3a
commit 61ba43b0b3
@@ -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.