Skip to content

Commit

Permalink
Add non-ascii case in fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
fbourigault committed Jan 4, 2024
1 parent 265914f commit 983c5a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function testAssetsAreCompiled()

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

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

$this->assertFileExists($targetBuildDir.'/importmap.json');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
'http_client' => true,
'assets' => null,
'asset_mapper' => [
'paths' => ['dir1', 'dir2'],
'paths' => ['dir1', 'dir2', 'non_ascii'],
],
'test' => true,
]);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* voilà.css */
body {}

0 comments on commit 983c5a3

Please sign in to comment.