Skip to content

Commit

Permalink
fix: replace wrong character with the UTF representation on e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmmiguel committed Oct 5, 2023
1 parent a4d4f76 commit 4cfc2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ mod test {
let path = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap());
let cargo_toml = path.join("Cargo.toml");
let cargo_toml_str = if cfg!(target_os = "windows") {
format!("http://localhost:8080/{}", cargo_toml.to_string_lossy()).replace('\\', "/")
format!("http://localhost:8080/{}", cargo_toml.to_string_lossy()).replace(':', "%3A")
} else {
format!("http://localhost:8080{}", cargo_toml.to_string_lossy())
};
Expand Down

0 comments on commit 4cfc2c5

Please sign in to comment.