Skip to content

Commit

Permalink
Don't use localhost.
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Sep 25, 2018
1 parent e28d779 commit f4e2e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn test_fetch_sync_string() {

tokio_util::init(|| {
tokio_util::block_on(futures::future::lazy(|| -> DenoResult<()> {
let p = fetch_sync_string("http://localhost:4545/package.json")?;
let p = fetch_sync_string("http://127.0.0.1:4545/package.json")?;
println!("package.json len {}", p.len());
assert!(p.len() > 1);
Ok(())
Expand Down

0 comments on commit f4e2e28

Please sign in to comment.