diff --git a/tests/media.rs b/tests/media.rs index 2ff9c40..0231868 100644 --- a/tests/media.rs +++ b/tests/media.rs @@ -232,6 +232,18 @@ test!( }", "@media (max-width: 0px) {\n a {\n color: red;\n }\n}\n\na {\n color: red;\n}\n" ); +test!( + #[ignore = "we move to top of media"] + plain_import_inside_media_is_not_moved_to_top, + r#"@media foo { + a { + color: red; + } + + @import "foo.css"; + }"#, + "@media foo {\n a {\n color: red;\n }\n\n @import \"foo.css\";\n}\n" +); error!( media_feature_missing_closing_paren,