Chromium Code Reviews| Index: chrome/browser/net/dns_probe_browsertest.cc |
| diff --git a/chrome/browser/net/dns_probe_browsertest.cc b/chrome/browser/net/dns_probe_browsertest.cc |
| index c9cf76fffaa5608400c2d12d904a11b3039207e0..c66a8364ce244ea8f35dc55f5fa5515b8ea15d8b 100644 |
| --- a/chrome/browser/net/dns_probe_browsertest.cc |
| +++ b/chrome/browser/net/dns_probe_browsertest.cc |
| @@ -650,15 +650,13 @@ bool DnsProbeBrowserTest::PageContains(const std::string& expected) { |
| void DnsProbeBrowserTest::ExpectDisplayingLocalErrorPage( |
| const std::string& status_text) { |
| - EXPECT_FALSE(PageContains("http://correction1/")); |
| - EXPECT_FALSE(PageContains("http://correction2/")); |
| + EXPECT_FALSE(PageContains("http://mock.http/title2.html")); |
|
edwardjung
2016/02/25 19:00:03
Changed URLs as showing only the first URL suggest
|
| EXPECT_TRUE(PageContains(status_text)); |
| } |
| void DnsProbeBrowserTest::ExpectDisplayingCorrections( |
| const std::string& status_text) { |
| - EXPECT_TRUE(PageContains("http://correction1/")); |
| - EXPECT_TRUE(PageContains("http://correction2/")); |
| + EXPECT_TRUE(PageContains("http://mock.http/title2.html")); |
| EXPECT_TRUE(PageContains(status_text)); |
| } |