public function ParserIniTest::testSupportedFile

8.0.x ParserIniTest.php public ParserIniTest::testSupportedFile()
7.x ParserIniTest.php public ParserIniTest::testSupportedFile()
master ParserIniTest.php public ParserIniTest::testSupportedFile()

@covers ::supportedFile

File

tests/Drush/Tests/Make/Parser/ParserIniTest.php, line 15

Namespace

Drush\Tests\Make\Parser

Class

ParserIniTest
@coversDefaultClass \Drush\Make\Parser\ParserIni

Code

public function testSupportedFile() {
  $this->assertFalse(ParserIni::supportedFile('-'));
  $this->assertFalse(ParserIni::supportedFile('/tmp/foo/bar/baz.make.yml'));
  $this->assertTrue(ParserIni::supportedFile('./baz/foo.make'));
}