Skip to content

Commit

Permalink
Auto merge of #4043 - alexcrichton:fix-flaky-test, r=alexcrichton
Browse files Browse the repository at this point in the history
Don't try to reach example.com in a test

Instead specify localhost
  • Loading branch information
bors committed May 15, 2017
2 parents 740a6fc + 4e0ac72 commit 62acd6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bad-config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ fn ambiguous_git_reference() {
authors = []
[dependencies.bar]
git = "https://example.com"
git = "https://127.0.0.1"
branch = "master"
tag = "some-tag"
"#)
Expand Down Expand Up @@ -865,7 +865,7 @@ fn both_git_and_path_specified() {
authors = []
[dependencies.bar]
git = "https://example.com"
git = "https://127.0.0.1"
path = "bar"
"#)
.file("src/lib.rs", "");
Expand Down

0 comments on commit 62acd6e

Please sign in to comment.