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 aec948da6ffcfbab75569a3eb904a6eecc01667c..733b66192f69e14dc97b9beed526839ad5c40269 100644 |
--- a/chrome/browser/cocoa/location_bar_view_mac_unittest.mm |
+++ b/chrome/browser/cocoa/location_bar_view_mac_unittest.mm |
@@ -118,11 +118,11 @@ TEST_F(LocationBarViewMacTest, OnChangedImpl) { |
// parameter is true or false. |
LocationBarViewMac::OnChangedImpl( |
field_, kKeyword, kKeyword, false, true, image); |
- EXPECT_TRUE([[[cell keywordString] string] isEqualToString:kKeywordString]); |
+ EXPECT_TRUE([[[cell keywordString] string] hasSuffix:kKeywordString]); |
EXPECT_FALSE([cell hintString]); |
LocationBarViewMac::OnChangedImpl( |
field_, kKeyword, kKeyword, false, false, image); |
- EXPECT_TRUE([[[cell keywordString] string] isEqualToString:kKeywordString]); |
+ EXPECT_TRUE([[[cell keywordString] string] hasSuffix:kKeywordString]); |
EXPECT_FALSE([cell hintString]); |
// Check that a partial keyword-search string is passed down in case |