Commit bc105b88 authored by thakis@chromium.org's avatar thakis@chromium.org

Try to fix BookmarkEditorControllerNoNodeTest.NoNodeNoTree

displayName is set to initialName in -[BookmarkEditorBaseController
awakeFromNib], and initialName is [@"" retain]. This seems to return a new
object with clang but the same object with gcc.

Not relying on internalized strings seems cleaner in general.

BUG=none
TEST=tree goes green
TBR=mrossetti

Review URL: http://codereview.chromium.org/7569030

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95753 0039d316-1c4b-4281-b951-d872f2087c98
parent 27217eb7
......@@ -156,7 +156,7 @@ class BookmarkEditorControllerNoNodeTest : public CocoaTest {
};
TEST_F(BookmarkEditorControllerNoNodeTest, NoNodeNoTree) {
EXPECT_EQ(@"", [controller_ displayName]);
EXPECT_NSEQ(@"", [controller_ displayName]);
EXPECT_EQ(nil, [controller_ displayURL]);
EXPECT_FALSE([controller_ okButtonEnabled]);
[controller_ cancel:nil];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment