Index: runtime/vm/profiler_test.cc |
diff --git a/runtime/vm/profiler_test.cc b/runtime/vm/profiler_test.cc |
index 1efc6b1cf26316f80fb96678ce4b5b8e202da4b5..e9017d89cc45f8baca286bf74ecbee5584f4250b 100644 |
--- a/runtime/vm/profiler_test.cc |
+++ b/runtime/vm/profiler_test.cc |
@@ -816,7 +816,12 @@ TEST_CASE(Profiler_ClassAllocation) { |
walker.Reset(Profile::kExclusiveCode); |
EXPECT(walker.Down()); |
+#if defined(TARGET_OS_WINDOWS) |
+ // TODO(johnmccutchan): Hookup native symbol resolver on Windows. |
+ EXPECT_SUBSTRING("[Native]", walker.CurrentName()); |
+#else |
EXPECT_SUBSTRING("dart::Profiler::RecordAllocation", walker.CurrentName()); |
+#endif |
EXPECT(!walker.Down()); |
} |