Skip to content

Commit a0bc9d6

Browse files
author
MarkBaker
committed
We should only be testing for T_LNUMBER
1 parent b11f021 commit a0bc9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Core/Tokenizer/BackfillExplicitOctalNotationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testExplicitOctalNotation($testData)
2929
{
3030
$tokens = self::$phpcsFile->getTokens();
3131

32-
$number = $this->getTargetToken($testData['marker'], [T_LNUMBER, T_DNUMBER, T_STRING]);
32+
$number = $this->getTargetToken($testData['marker'], [T_LNUMBER]);
3333

3434
$this->assertSame(constant($testData['type']), $tokens[$number]['code']);
3535
$this->assertSame($testData['type'], $tokens[$number]['type']);

0 commit comments

Comments
 (0)