Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index ae009ec0be0c2c96ba9b749bc796ef52d42e5b40..6622d8bd7bca4d3e6872b799cef2585628a933b5 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -4692,7 +4692,7 @@ struct TestResult { |
}; |
-VM_TEST_CASE(String_IdentifierPrettyName) { |
+VM_TEST_CASE(String_ScrubName) { |
TestResult tests[] = { |
{"(dynamic, dynamic) => void", "(dynamic, dynamic) => void"}, |
{"_List@915557746", "_List"}, |
@@ -4712,7 +4712,7 @@ VM_TEST_CASE(String_IdentifierPrettyName) { |
String& result = String::Handle(); |
for (size_t i = 0; i < ARRAY_SIZE(tests); i++) { |
test = String::New(tests[i].in); |
- result = String::IdentifierPrettyName(test); |
+ result = String::ScrubName(test); |
EXPECT_STREQ(tests[i].out, result.ToCString()); |
} |
} |