Skip to content

Commit f1c84dc

Browse files
committed
Type should not be optional
1 parent 020f658 commit f1c84dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/steps/given.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function ( $world ) {
4343
);
4444

4545
$steps->Given(
46-
'/^an? ([^\s]+) (file|cache file)?:$/',
46+
'/^an? ([^\s]+) (file|cache file):$/',
4747
function ( $world, $path, $type, PyStringNode $content ) {
4848
$content = (string) $content . "\n";
4949
$full_path = 'cache file' === $type

0 commit comments

Comments
 (0)