Index: runtime/vm/uri_test.cc |
diff --git a/runtime/vm/uri_test.cc b/runtime/vm/uri_test.cc |
index a0cf153a373237a399e7ab681c812173117e3aa1..d0b99ab2b2e1589484dfa65553aeb1fb0d3c8663 100644 |
--- a/runtime/vm/uri_test.cc |
+++ b/runtime/vm/uri_test.cc |
@@ -562,25 +562,25 @@ TEST_CASE(ResolveUri_NormalizeEscapes_BrokenEscapeSequence) { |
TEST_CASE(ResolveUri_RelativeBase_NotImplemented) { |
const char* target_uri; |
EXPECT(!ResolveUri("../r1", "b1/b2", &target_uri)); |
- EXPECT_STREQ("", target_uri); |
+ EXPECT(target_uri == NULL); |
EXPECT(!ResolveUri("..", "b1/b2", &target_uri)); |
- EXPECT_STREQ("", target_uri); |
+ EXPECT(target_uri == NULL); |
EXPECT(!ResolveUri("../..", "b1/b2", &target_uri)); |
- EXPECT_STREQ("", target_uri); |
+ EXPECT(target_uri == NULL); |
EXPECT(!ResolveUri("../../..", "b1/b2", &target_uri)); |
- EXPECT_STREQ("", target_uri); |
+ EXPECT(target_uri == NULL); |
EXPECT(!ResolveUri("../../../r1", "b1/b2", &target_uri)); |
- EXPECT_STREQ("", target_uri); |
+ EXPECT(target_uri == NULL); |
EXPECT(!ResolveUri("../r1", "../../b1/b2/b3", &target_uri)); |
- EXPECT_STREQ("", target_uri); |
+ EXPECT(target_uri == NULL); |
EXPECT(!ResolveUri("../../../r1", "../../b1/b2/b3", &target_uri)); |
- EXPECT_STREQ("", target_uri); |
+ EXPECT(target_uri == NULL); |
} |