@@ -164,7 +164,7 @@ def test_compile_stylesheets(tmp_path: Path, mocker: MockerFixture):
164164 "@import url('https://fonts.googleapis.com/css?family=Sofia&effect=neon|outline|emboss|shadow-multiple');\n "
165165 "@import url('https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css');\n "
166166 "@import url('https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css');\n "
167- "@import url('./style.css');\n " ,
167+ "@import url('./style.css');" ,
168168 )
169169
170170 assert (project / constants .Dirs .WEB / "styles" / "style.css" ).read_text () == (
@@ -225,7 +225,7 @@ def test_compile_stylesheets_scss_sass(tmp_path: Path, mocker: MockerFixture):
225225 "@import url('@radix-ui/themes/styles.css');\n "
226226 "@import url('./style.css');\n "
227227 f"@import url('./{ Path ('preprocess' ) / Path ('styles_a.css' )!s} ');\n "
228- f"@import url('./{ Path ('preprocess' ) / Path ('styles_b.css' )!s} ');\n " ,
228+ f"@import url('./{ Path ('preprocess' ) / Path ('styles_b.css' )!s} ');" ,
229229 )
230230
231231 stylesheets = [
@@ -245,7 +245,7 @@ def test_compile_stylesheets_scss_sass(tmp_path: Path, mocker: MockerFixture):
245245 "@import url('@radix-ui/themes/styles.css');\n "
246246 "@import url('./style.css');\n "
247247 f"@import url('./{ Path ('preprocess' ) / Path ('styles_a.css' )!s} ');\n "
248- f"@import url('./{ Path ('preprocess' ) / Path ('styles_b.css' )!s} ');\n " ,
248+ f"@import url('./{ Path ('preprocess' ) / Path ('styles_b.css' )!s} ');" ,
249249 )
250250
251251 assert (project / constants .Dirs .WEB / "styles" / "style.css" ).read_text () == (
@@ -288,7 +288,7 @@ def test_compile_stylesheets_exclude_tailwind(tmp_path, mocker: MockerFixture):
288288
289289 assert compiler .compile_root_stylesheet (stylesheets ) == (
290290 str (Path (".web" ) / "styles" / (PageNames .STYLESHEET_ROOT + ".css" )),
291- "@layer __reflex_base;\n @import url('./__reflex_style_reset.css');\n @import url('@radix-ui/themes/styles.css');\n @import url('./style.css');\n " ,
291+ "@layer __reflex_base;\n @import url('./__reflex_style_reset.css');\n @import url('@radix-ui/themes/styles.css');\n @import url('./style.css');" ,
292292 )
293293
294294
@@ -327,7 +327,7 @@ def test_compile_stylesheets_no_reset(tmp_path: Path, mocker: MockerFixture):
327327 / "styles"
328328 / (PageNames .STYLESHEET_ROOT + ".css" )
329329 ),
330- "@layer __reflex_base;\n @import url('@radix-ui/themes/styles.css');\n @import url('./style.css');\n " ,
330+ "@layer __reflex_base;\n @import url('@radix-ui/themes/styles.css');\n @import url('./style.css');" ,
331331 )
332332
333333
0 commit comments