Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
61ba43b0
Commit
61ba43b0
authored
Jan 15, 2013
by
Tim Hunt
Browse files
MDL-47494 gapselect: Fix incorrect preg_quote usage.
parent
8aaa057e
Changes
1
Hide whitespace changes
Inline
Side-by-side
question/type/gapselect/tests/walkthrough_test.php
View file @
61ba43b0
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment