seperate css file for mobile layout

This commit is contained in:
realaravinth 2021-05-25 21:18:59 +05:30
parent 80352fb390
commit 32e46586e4
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -102,8 +102,8 @@ mod tests {
#[test] #[test]
fn filemap_works() { fn filemap_works() {
let files = super::FileMap::new(); let files = super::FileMap::new();
let css = files.get("./static-assets/bundle/main.css").unwrap(); let css = files.get("./static-assets/bundle/bundle.css").unwrap();
println!("{}", css); println!("{}", css);
assert!(css.contains("/static/bundle/main")); assert!(css.contains("/static/bundle/bundle"));
} }
} }