Skip to content

Commit 983c5a3

Browse files
committed
Add non-ascii case in fixtures
1 parent 265914f commit 983c5a3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function testAssetsAreCompiled()
6363

6464
$finder = new Finder();
6565
$finder->in($targetBuildDir)->files();
66-
$this->assertCount(10, $finder);
66+
$this->assertCount(11, $finder);
6767
$this->assertFileExists($targetBuildDir.'/manifest.json');
6868

6969
$this->assertSame([
@@ -74,6 +74,7 @@ public function testAssetsAreCompiled()
7474
'file4.js',
7575
'subdir/file5.js',
7676
'subdir/file6.js',
77+
'voilà.css',
7778
], array_keys(json_decode(file_get_contents($targetBuildDir.'/manifest.json'), true)));
7879

7980
$this->assertFileExists($targetBuildDir.'/importmap.json');

src/Symfony/Component/AssetMapper/Tests/fixtures/AssetMapperTestAppKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
4040
'http_client' => true,
4141
'assets' => null,
4242
'asset_mapper' => [
43-
'paths' => ['dir1', 'dir2'],
43+
'paths' => ['dir1', 'dir2', 'non_ascii'],
4444
],
4545
'test' => true,
4646
]);
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* voilà.css */
2+
body {}

0 commit comments

Comments
 (0)