We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a004e9 + 2aadfb7 commit 1ac3dacCopy full SHA for 1ac3dac
features/steps/given.php
@@ -46,7 +46,8 @@ function ( $world ) {
46
$steps->Given(
47
'/^an? ([^\s]+) (file|cache file):$/',
48
function ( $world, $path, $type, PyStringNode $content ) {
49
- $content = (string) $content . "\n";
+ $path = $world->replace_variables( (string) $path );
50
+ $content = $world->replace_variables( (string) $content ) . "\n";
51
$full_path = 'cache file' === $type
52
? $world->variables['SUITE_CACHE_DIR'] . "/$path"
53
: $world->variables['RUN_DIR'] . "/$path";
0 commit comments