Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrossh committed Jul 9, 2024
1 parent 6737750 commit c25b1f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ rust-embed-utils = { version = "8.4.0", path = "utils"}

include-flate = { version = "0.3", optional = true }
actix-web = { version = "4", optional = true }
mime_guess = { version = "2", optional = true }
mime_guess = { version = "2.0.5", optional = true }
hex = { version = "0.4.3", optional = true }
tokio = { version = "1.0", optional = true, features = ["macros", "rt-multi-thread"] }
warp = { version = "0.3", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion tests/mime_guess.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn css_mime_is_correct() {
#[test]
fn js_mime_is_correct() {
let js_file: EmbeddedFile = Asset::get("main.js").expect("main.js exists");
assert_eq!(js_file.metadata.mimetype(), "application/javascript");
assert_eq!(js_file.metadata.mimetype(), "text/javascript");
}

#[test]
Expand Down

0 comments on commit c25b1f7

Please sign in to comment.