public function testRecordsLineAndColumn() { $expected = ['kind' => Token::NAME, 'start' => 8, 'end' => 11, 'line' => 4, 'column' => 3, 'value' => 'foo']; $this->assertArraySubset($expected, (array) $this->lexOne("\n \r\n \r foo\n")); }