diff --git a/composer.json b/composer.json index e799d31..51b157c 100644 --- a/composer.json +++ b/composer.json @@ -3,24 +3,15 @@ "name": "pre/six", "license": "MIT", "require": { - "pre/plugin": "^0.7.3" + "pre/plugin": "^0.10.0" }, "autoload": { - "files": [ - "src/expanders.php" - ] + "files": ["source/expanders.php"] }, "require-dev": { "phpunit/phpunit": "^5.0|^6.0" }, - "autoload-dev": { - "psr-4": { - "Pre\\Six\\": "tests" - } - }, "extra": { - "macros": [ - "src/macros.yay" - ] + "macros": ["source/macros.yay"] } } diff --git a/phpunit.xml b/phpunit.xml index 829414b..5543800 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -2,7 +2,7 @@ format($from))); + $this->assertEquals($this->format($expected), $actual); + } + + private function format($code) { - return __DIR__ . "/specs"; + return "