Skip to content

Commit b7b0b5c

Browse files
committed
dir sep
1 parent ae4aff8 commit b7b0b5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests/TestBehatTags.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private function remove_dir( $dir ) {
6363
* @return string|false The output of the script.
6464
*/
6565
private function run_behat_tags_script( $env = '' ) {
66-
$behat_tags = dirname( dirname( __DIR__ ) ) . '/utils/behat-tags.php';
66+
$behat_tags = dirname( dirname( __DIR__ ) ) . DIRECTORY_SEPARATOR . 'utils' . DIRECTORY_SEPARATOR . 'behat-tags.php';
6767

6868
// Use the `-n` flag to disable loading of `php.ini` and ensure a clean environment.
6969
$php_run = escapeshellarg( PHP_BINARY ) . ' -n ' . escapeshellarg( $behat_tags );
@@ -267,7 +267,7 @@ public function test_behat_tags_extension(): void {
267267
public function test_behat_tags_db_version(): void {
268268
$db_type = getenv( 'WP_CLI_TEST_DBTYPE' );
269269

270-
$behat_tags = dirname( dirname( __DIR__ ) ) . '/utils/behat-tags.php';
270+
$behat_tags = dirname( dirname( __DIR__ ) ) . DIRECTORY_SEPARATOR . 'utils' . DIRECTORY_SEPARATOR . 'behat-tags.php';
271271

272272
// Just to get the get_db_version() function. Prevents unexpected output.
273273
ob_start();

0 commit comments

Comments
 (0)