Skip to content

Commit c4cfc92

Browse files
committed
Fix: marker passed to the error message of two assertions
1 parent 4eab727 commit c4cfc92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Core/Tokenizers/Tokenizer/RecurseScopeMapDefaultKeywordConditionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ public function testSwitchDefault($testMarker, $openerMarker, $closerMarker, $co
178178
$this->assertSame(
179179
$expectedScopeOpener,
180180
$tokenArray['scope_opener'],
181-
sprintf('Scope opener of the T_DEFAULT token incorrect. Marker: %s.', $openerMarker)
181+
sprintf('Scope opener of the T_DEFAULT token incorrect. Marker: %s.', $testMarker)
182182
);
183183
$this->assertSame(
184184
$expectedScopeCloser,
185185
$tokenArray['scope_closer'],
186-
sprintf('Scope closer of the T_DEFAULT token incorrect. Marker: %s.', $closerMarker)
186+
sprintf('Scope closer of the T_DEFAULT token incorrect. Marker: %s.', $testMarker)
187187
);
188188

189189
$opener = $tokenArray['scope_opener'];

0 commit comments

Comments
 (0)