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

Unified Diff: chrome/browser/cocoa/location_bar_view_mac_unittest.mm

Issue 2876002: Mac/clang: First pass over unit_tests (Closed)
Patch Set: '' Created 10 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
Index: chrome/browser/cocoa/location_bar_view_mac_unittest.mm
diff --git a/chrome/browser/cocoa/location_bar_view_mac_unittest.mm b/chrome/browser/cocoa/location_bar_view_mac_unittest.mm
index c3b1f9a662ce81a3d9f78799adecf0f37d89aa47..f82a2dd673c5d79c8ce72eba9b19ace19310c6b7 100644
--- a/chrome/browser/cocoa/location_bar_view_mac_unittest.mm
+++ b/chrome/browser/cocoa/location_bar_view_mac_unittest.mm
@@ -81,11 +81,11 @@ TEST_F(LocationBarViewMacTest, OnChangedImpl) {
NSImage* image = [NSImage imageNamed:@"NSApplicationIcon"];
const std::wstring kKeyword(L"Google");
- const NSString* kKeywordPrefix = @"Press ";
- const NSString* kKeywordSuffix = @" to search Google";
- const NSString* kKeywordString = @"Search Google:";
+ NSString* const kKeywordPrefix = @"Press ";
+ NSString* const kKeywordSuffix = @" to search Google";
+ NSString* const kKeywordString = @"Search Google:";
// 0x2026 is Unicode ellipses.
- const NSString* kPartialString =
+ NSString* const kPartialString =
[NSString stringWithFormat:@"Search Go%C:", 0x2026];
// With no special hints requested, none set.

Powered by Google App Engine
This is Rietveld 408576698