OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74e89e
)
Revert "slight improvement to behat step regex"
author
scribu
<mail@scribu.net>
Sun, 19 Jan 2014 14:07:17 +0000
(16:07 +0200)
committer
scribu
<mail@scribu.net>
Sun, 19 Jan 2014 14:07:17 +0000
(16:07 +0200)
The new regex didn't catch all cases.
This reverts commit
ae175ac8d88c61b9e8132f07ca2b200b2437a413
.
features/steps/given.php
patch
|
blob
|
history
diff --git
a/features/steps/given.php
b/features/steps/given.php
index
5998f0d
..
998a013
100644
(file)
--- a/
features/steps/given.php
+++ b/
features/steps/given.php
@@
-87,7
+87,7
@@
$steps->Given( '/^download:$/',
}
);
-$steps->Given( '/^save (STDOUT|STDERR)
( [\'].+[^\'])?
as \{(\w+)\}$/',
+$steps->Given( '/^save (STDOUT|STDERR)
([\'].+[^\'])?
as \{(\w+)\}$/',
function ( $world, $stream, $output_filter, $key ) {
if ( $output_filter ) {