X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Ftests%2FDrush%2FTests%2FMake%2FParser%2FParserIniTest.php;fp=vendor%2Fdrush%2Fdrush%2Ftests%2FDrush%2FTests%2FMake%2FParser%2FParserIniTest.php;h=0000000000000000000000000000000000000000;hp=37f5d41c131d94fb6ef97f77cd53fa9f4483d633;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/drush/drush/tests/Drush/Tests/Make/Parser/ParserIniTest.php b/vendor/drush/drush/tests/Drush/Tests/Make/Parser/ParserIniTest.php deleted file mode 100644 index 37f5d41c1..000000000 --- a/vendor/drush/drush/tests/Drush/Tests/Make/Parser/ParserIniTest.php +++ /dev/null @@ -1,41 +0,0 @@ -assertFalse(ParserIni::supportedFile('-')); - $this->assertFalse(ParserIni::supportedFile('/tmp/foo/bar/baz.make.yml')); - $this->assertTrue(ParserIni::supportedFile('./baz/foo.make')); - } - - /** - * @dataProvider providerParse - * @covers ::parse - */ - public function testParse($ini, $expected) { - $parsed = ParserIni::parse($ini); - $this->assertSame($expected, $parsed); - } - - /** - * Provides INI snippets to test the parser. - */ - public function providerParse() { - $snippets[] = array('foo[bar][baz] = one', array('foo' => array('bar' => array('baz' => 'one')))); - $snippets[] = array("; A comment should not be part of the returned array\nprojects[] = drupal", array('projects' => array('drupal'))); - - // @todo make more tests. - return $snippets; - } - -}