File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments