Mark test incomplete instead of commenting it out
parent
829d3075f7
commit
af5a5fe172
|
@ -127,28 +127,28 @@ class ParseErrorsTest extends TestCase
|
||||||
], json_decode(json_encode($this->args), true));
|
], json_decode(json_encode($this->args), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
// This diagnostic not yet implemented in tolerant-php-parser
|
public function testParseErrorsWithOnlyStartLine()
|
||||||
// public function testParseErrorsWithOnlyStartLine()
|
{
|
||||||
// {
|
$this->markTestIncomplete('This diagnostic not yet implemented in tolerant-php-parser');
|
||||||
// $this->openFile(__DIR__ . '/../../../fixtures/namespace_not_first.php');
|
$this->openFile(__DIR__ . '/../../../fixtures/namespace_not_first.php');
|
||||||
// $this->assertEquals([
|
$this->assertEquals([
|
||||||
// 'whatever',
|
'whatever',
|
||||||
// [[
|
[[
|
||||||
// 'range' => [
|
'range' => [
|
||||||
// 'start' => [
|
'start' => [
|
||||||
// 'line' => 4,
|
'line' => 4,
|
||||||
// 'character' => 0
|
'character' => 0
|
||||||
// ],
|
],
|
||||||
// 'end' => [
|
'end' => [
|
||||||
// 'line' => 4,
|
'line' => 4,
|
||||||
// 'character' => 0
|
'character' => 0
|
||||||
// ]
|
]
|
||||||
// ],
|
],
|
||||||
// 'severity' => DiagnosticSeverity::ERROR,
|
'severity' => DiagnosticSeverity::ERROR,
|
||||||
// 'code' => null,
|
'code' => null,
|
||||||
// 'source' => 'php',
|
'source' => 'php',
|
||||||
// 'message' => "Namespace declaration statement has to be the very first statement in the script"
|
'message' => "Namespace declaration statement has to be the very first statement in the script"
|
||||||
// ]]
|
]]
|
||||||
// ], json_decode(json_encode($this->args), true));
|
], json_decode(json_encode($this->args), true));
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue