diff --git a/typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php b/typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php index 51a4793..eb115cb 100644 --- a/typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php @@ -370,6 +370,16 @@ class ConditionMatcherTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { } /** + * 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