10000 Fix test for Windows (ter) · symfony/symfony@6d7fff8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d7fff8

Browse files
committed
Fix test for Windows (ter)
1 parent 498a54a commit 6d7fff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/AssetMapper/Tests/Command/DebugAssetsMapperCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ public function testCommandFiltersVendor()
7474
$this->assertSame(0, $res);
7575
$this->assertStringContainsString('vendor/lodash/', $tester->getDisplay());
7676
$this->assertStringContainsString('@hotwired/stimulus', $tester->getDisplay());
77-
$this->assertStringNotContainsString('dir2'.DIRECTORY_SEPARATOR, $tester->getDisplay());
77+
$this->assertStringNotContainsString('dir2'.\DIRECTORY_SEPARATOR, $tester->getDisplay());
7878

7979
$tester = new CommandTester($command);
8080
$res = $tester->execute(['--no-vendor' => true]);
8181

8282
$this->assertSame(0, $res);
8383
$this->assertStringNotContainsString('vendor/lodash/', $tester->getDisplay());
8484
$this->assertStringNotContainsString('@hotwired/stimulus', $tester->getDisplay());
85-
$this->assertStringContainsString('dir2'.DIRECTORY_SEPARATOR, $tester->getDisplay());
85+
$this->assertStringContainsString('dir2'.\DIRECTORY_SEPARATOR, $tester->getDisplay());
8686
}
8787
}

0 commit comments

Comments
 (0)
0