Skip to content

Commit f4e2ad2

Browse files
committed
Removing no longer relevant test (thanks to JEP-12). Closes #22
1 parent a7d99d0 commit f4e2ad2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/LexerTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,11 @@ public function testTokenizesJsonLiterals()
7171
public function testTokenizesJsonNumbers()
7272
{
7373
$l = new Lexer();
74-
$tokens = $l->tokenize('`10`, `1.2`, `-10.20e-10`, `1.2E+2`, `2014-12`');
74+
$tokens = $l->tokenize('`10`, `1.2`, `-10.20e-10`, `1.2E+2`');
7575
$this->assertEquals(10, $tokens[0]['value']);
7676
$this->assertEquals(1.2, $tokens[2]['value']);
7777
$this->assertEquals(-1.02E-9, $tokens[4]['value']);
7878
$this->assertEquals(120, $tokens[6]['value']);
79-
$this->assertEquals('2014-12', $tokens[8]['value']);
8079
}
8180

8281
public function testCanWorkWithElidedJsonLiterals()

0 commit comments

Comments
 (0)