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

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

Issue 3095004: [Mac] Use the new {EXPECT,ASSERT}_NS{EQ,NE} macros where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix compile Created 10 years, 4 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/download_util_mac_unittest.mm
diff --git a/chrome/browser/cocoa/download_util_mac_unittest.mm b/chrome/browser/cocoa/download_util_mac_unittest.mm
index 3fb98d277b9c72c0703f6f4c50712624d16cfd98..88d609790bd09c1dbc94a8cd25f0df0301e7b0e7 100644
--- a/chrome/browser/cocoa/download_util_mac_unittest.mm
+++ b/chrome/browser/cocoa/download_util_mac_unittest.mm
@@ -10,6 +10,7 @@
#import "chrome/browser/cocoa/download_util_mac.h"
#include "chrome/common/chrome_paths.h"
#include "testing/gtest/include/gtest/gtest.h"
+#import "testing/gtest_mac.h"
#include "testing/platform_test.h"
namespace {
@@ -51,7 +52,7 @@ TEST_F(DownloadUtilMacTest, AddFileToPasteboardTest) {
ASSERT_TRUE(files != nil);
NSString* expectedPath = [files objectAtIndex:0];
NSString* realPath = base::SysWideToNSString(testPath.ToWStringHack());
- EXPECT_TRUE([expectedPath isEqualToString:realPath]);
+ EXPECT_NSEQ(expectedPath, realPath);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698