Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8662)

Unified Diff: chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm

Issue 2963883002: Omnibox UI Experiments: Refactor HTTPS trimming into UrlFormatter. (Closed)
Patch Set: fix Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/omnibox/browser/autocomplete_match.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
diff --git a/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm b/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
index bed808e00b95656a3d806370989e602ae8d5c618..9d1e2010859e069d9fba09d2bf5391d07f23b4a0 100644
--- a/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
+++ b/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
@@ -200,8 +200,7 @@ TEST_F(StatusBubbleMacTest, SetURL) {
bubble_->SetURL(GURL("bad url"));
EXPECT_FALSE(IsVisible());
bubble_->SetURL(GURL("http://"));
- EXPECT_TRUE(IsVisible());
- EXPECT_NSEQ(@"http:", GetURLText());
+ EXPECT_FALSE(IsVisible());
bubble_->SetURL(GURL("about:blank"));
EXPECT_TRUE(IsVisible());
EXPECT_NSEQ(@"about:blank", GetURLText());
« no previous file with comments | « no previous file | components/omnibox/browser/autocomplete_match.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698