Index: runtime/vm/isolate_test.cc |
diff --git a/runtime/vm/isolate_test.cc b/runtime/vm/isolate_test.cc |
index 6565d384034b9ca725e3e49b41c08a0a8cfe8050..2af007ea2285a4036d98158a5e9a793b6e970199 100644 |
--- a/runtime/vm/isolate_test.cc |
+++ b/runtime/vm/isolate_test.cc |
@@ -23,10 +23,10 @@ UNIT_TEST_CASE(IsolateCurrent) { |
TEST_CASE(IsolateSpawn) { |
const char* kScriptChars = |
"import 'dart:isolate';\n" |
- "void entry() {}\n" |
+ "void entry(message) {}\n" |
"int testMain() {\n" |
" try {\n" |
- " spawnFunction(entry);\n" |
+ " Isolate.spawn(entry, null);\n" |
" } catch (e) {\n" |
" rethrow;\n" |
" }\n" |