mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
shortanswer qtype: Add the problem case from http://moodle.org/mod/forum/discuss.php?d=120557 to the unit tests.
This commit is contained in:
parent
4429b23770
commit
f13b675702
@ -66,6 +66,9 @@ class question_shortanswer_qtype_test extends UnitTestCase {
|
||||
$this->assertFalse($this->qtype->compare_string_with_wildcard('a', '[a-z]', false));
|
||||
$this->assertTrue($this->qtype->compare_string_with_wildcard('[a-z]', '[a-z]', false));
|
||||
$this->assertTrue($this->qtype->compare_string_with_wildcard('\{}/', '\{}/', true));
|
||||
|
||||
// See http://moodle.org/mod/forum/discuss.php?d=120557
|
||||
$this->assertTrue($this->qtype->compare_string_with_wildcard('ITÁLIE', 'Itálie', true));
|
||||
}
|
||||
|
||||
function test_check_response() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user