From 8656d83d67565c1ee0f4196a6813d41a9929a553 Mon Sep 17 00:00:00 2001 From: Chris Sangwin <C.J.Sangwin@ed.ac.uk> Date: Tue, 16 Jul 2024 17:51:20 +0100 Subject: [PATCH] Change testcase outcome: this is invalid syntax so what the parser returns was bound to be fragile to changes. --- tests/fixtures/inputfixtures.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixtures/inputfixtures.class.php b/tests/fixtures/inputfixtures.class.php index 56e1c41b9..49aafc5f4 100644 --- a/tests/fixtures/inputfixtures.class.php +++ b/tests/fixtures/inputfixtures.class.php @@ -666,7 +666,7 @@ class stack_inputvalidation_test_data { ['\sqrt{2+x}', 'php_false', '\sqrt{2+x}', 'cas_false', '', 'illegalcaschars', "Student uses LaTeX"], [ 'sin(x),cos(y)', 'php_false', 'sin(x),cos(y)', 'cas_true', '', - 'unencapsulated_comma', "", + 'ParseError', "", ], ['sum(k^n,n,0,3)', 'php_true', 'sum(k^n,n,0,3)', 'cas_true', '\sum_{n=0}^{3}{k^{n}}', '', "Sums and products"], [ -- GitLab