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

Unified Diff: runtime/bin/directory_test.cc

Issue 2281733002: Fix directory test on mac (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory_test.cc
diff --git a/runtime/bin/directory_test.cc b/runtime/bin/directory_test.cc
index 245a5d19519731f94b785b4bba5f7e2ea6ca4d06..2cc4763d7b6ea5c8ea38ad23cd829361da6cd4d5 100644
--- a/runtime/bin/directory_test.cc
+++ b/runtime/bin/directory_test.cc
@@ -70,7 +70,7 @@ TEST_CASE(DirectorySetCurrent) {
const char* new_current = dart::bin::Directory::Current();
EXPECT_NOTNULL(new_current);
- EXPECT_EQ(0, strcmp(system_temp, new_current));
+ EXPECT_NOTNULL(strstr(new_current, system_temp));
EXPECT(dart::bin::Directory::SetCurrent(current));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698