diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-01-02 22:49:42 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-01-02 22:49:42 +0100 |
commit | 1f8c26f25b52d410d126eeeb30f61012094beaaa (patch) | |
tree | 2100701a3c96d28b4236f527815ca94a369d3ca0 /question.php | |
parent | 6e9f189cdba529e41c345abfd26ffecaede65c4b (diff) |
Small fix to the parser and more Behat tests
Diffstat (limited to 'question.php')
-rw-r--r-- | question.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/question.php b/question.php index bfff2fa..52f8392 100644 --- a/question.php +++ b/question.php @@ -184,10 +184,6 @@ class qtype_algebra_question extends question_graded_by_strategy } public function compare_response_with_answer(array $response, question_answer $answer) { - // Deal with the match anything answer by returning true. - if ($answer->answer == '*') { - return true; - } $expr = $this->parse_expression($response['answer']); // Check that there is a response and if not return false. We do this here // because even an empty response should match a widlcard answer. |