Commit ecbc4446 authored by André Simon's avatar André Simon

improved negation of sections with whitespace

parent 0a51bf62
Pipeline #63597813 passed with stage
in 3 minutes and 11 seconds
......@@ -2410,8 +2410,13 @@ void CodeGenerator::runSyntaxTestcases(unsigned int column){
|| assertGroup != stateTraceTest[column].kwClass) {
testFailed=!negation;
} else if (negation) {
testFailed=true;
} else if (negation ) {
//TODO Fix ~ws
if (assertState!=_WS && !stateTraceTest[column].isWhiteSpace )
testFailed=true;
}
if (testFailed) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment