Chromium Code Reviews| Index: chrome/browser/ui/search/instant_extended_browsertest.cc |
| diff --git a/chrome/browser/ui/search/instant_extended_browsertest.cc b/chrome/browser/ui/search/instant_extended_browsertest.cc |
| index 6ae70e88ff7cd09881a9cc3ca9f0959d0df8a5eb..db9e920e239ff39fdb07431d61242204b0157707 100644 |
| --- a/chrome/browser/ui/search/instant_extended_browsertest.cc |
| +++ b/chrome/browser/ui/search/instant_extended_browsertest.cc |
| @@ -1475,17 +1475,16 @@ IN_PROC_BROWSER_TEST_F(InstantExtendedTest, AutocompleteProvidersDone) { |
| EXPECT_EQ(1, on_native_suggestions_calls_); |
| } |
| -// Test that the local NTP doesn't end up with the local overlay's URL. |
| -IN_PROC_BROWSER_TEST_F(InstantExtendedTest, LocalNTPIsNotLocalOverlay) { |
| +// Test that the local NTP is not preloaded. |
| +IN_PROC_BROWSER_TEST_F(InstantExtendedTest, LocalNTPIsNotPreloaded) { |
| ASSERT_NO_FATAL_FAILURE(SetupInstant(browser())); |
| EXPECT_EQ(instant_url(), instant()->ntp_->contents()->GetURL()); |
| - // The second argument says to use only the local overlay. |
| + // The second argument says to use only the local overlay and NTP. |
| instant()->SetInstantEnabled(false, true); |
| - EXPECT_EQ(GURL(chrome::kChromeSearchLocalNtpUrl), |
| - instant()->ntp_->contents()->GetURL()); |
| + ASSERT_EQ(NULL, instant()->ntp()); |
|
Jered
2013/04/17 23:45:33
EXPECT_EQ
|
| } |
| // Verify top bars visibility when searching on |DEFAULT| pages and switching |