Project

General

Profile

Bug #45165 » globalVarConditionMatchesNotOnNotEqualExpression.diff

Marc Bastian Heinrichs, 2013-02-05 11:47

View differences:

typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
}
/**
* Tests whether numerical comparison matches not.
*
* @test
*/
public function globalVarConditionMatchesNotOnNotEqualExpression() {
$this->assertFalse($this->matchCondition->match('[globalVar = LIT:10 != 10]'));
}
/**
* Tests whether numerical comparison matches.
*
* @test
(1-1/2)