Skip to content

Commit 48414a5

Browse files
committed
fix linter error for wasm test
1 parent c59c7c7 commit 48414a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_wasm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod tests {
1717
async fn test_wasm32() {
1818
let uri = &format!("/{}", TEST_PLATFORM);
1919
let ipv4 = "127.0.0.1";
20-
check_request_received_using(uri.into(), &ipv4, |url| {
20+
check_request_received_using(uri.into(), ipv4, |url| {
2121
// modify html to use the correct url
2222
let mut app_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
2323
app_dir.push("tests/test-wasm-app");
@@ -26,7 +26,7 @@ mod tests {
2626
let mut dst_html = PathBuf::from(&app_dir);
2727
dst_html.push("pkg/test.html");
2828
let old_html = fs::read_to_string(&src_html).expect("failed to read test.html");
29-
let new_html = old_html.replace("DYNAMIC_URL_TBD", &url);
29+
let new_html = old_html.replace("DYNAMIC_URL_TBD", url);
3030
fs::write(&dst_html, &new_html).expect("failed to update dst test.html");
3131

3232
// open browser

0 commit comments

Comments
 (0)