Skip to content

Commit

Permalink
Merge branch 'feature/namedfunctioncallargtest-minor-fix' of https://…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed May 27, 2021
2 parents ea105e4 + 848f45a commit 5107f87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testNamedFunctionCallArguments($testMarker, $parameters)
$this->assertSame(
T_PARAM_NAME,
$tokens[$label]['code'],
'Token tokenized as '.$tokens[$label]['code'].', not T_PARAM_NAME (code)'
'Token tokenized as '.$tokens[$label]['type'].', not T_PARAM_NAME (code)'
);
$this->assertSame(
'T_PARAM_NAME',
Expand Down Expand Up @@ -278,7 +278,7 @@ public function testOtherTstringInFunctionCall($testMarker, $content)
$this->assertSame(
T_STRING,
$tokens[$label]['code'],
'Token tokenized as '.$tokens[$label]['code'].', not T_STRING (code)'
'Token tokenized as '.$tokens[$label]['type'].', not T_STRING (code)'
);
$this->assertSame(
'T_STRING',
Expand Down Expand Up @@ -709,7 +709,7 @@ public function testReservedKeywordsAsName($testMarker, $tokenTypes, $tokenConte
$this->assertSame(
T_PARAM_NAME,
$tokens[$label]['code'],
'Token tokenized as '.$tokens[$label]['code'].', not T_PARAM_NAME (code)'
'Token tokenized as '.$tokens[$label]['type'].', not T_PARAM_NAME (code)'
);
$this->assertSame(
'T_PARAM_NAME',
Expand Down

0 comments on commit 5107f87

Please sign in to comment.