Changeset View
Changeset View
Standalone View
Standalone View
src/parser/__tests__/PhutilEditorConfigTestCase.php
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | foreach ($invalid_properties as $invalid_property) { | ||||
$caught = $ex; | $caught = $ex; | ||||
} | } | ||||
$this->assertTrue($caught instanceof InvalidArgumentException); | $this->assertTrue($caught instanceof InvalidArgumentException); | ||||
} | } | ||||
} | } | ||||
private function getTestFile($path = null) { | private function getTestFile($path = null) { | ||||
return dirname(__FILE__).'/editorconfig/'.$path; | return __DIR__.'/editorconfig/'.$path; | ||||
} | } | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0