Index: tests/standalone/vmservice/isolate_list_script.dart |
diff --git a/tests/language/recursive_calls_test.dart b/tests/standalone/vmservice/isolate_list_script.dart |
similarity index 54% |
copy from tests/language/recursive_calls_test.dart |
copy to tests/standalone/vmservice/isolate_list_script.dart |
index 9a44ea6401adcd6a236707a360fca1218c00fd04..a9cc79fe9eb57d905ad569fe7950be6b425c1d3d 100644 |
--- a/tests/language/recursive_calls_test.dart |
+++ b/tests/standalone/vmservice/isolate_list_script.dart |
@@ -2,12 +2,13 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-import "package:expect/expect.dart"; |
+library isolate_list_script; |
-int bar(x) => foo(x+1); |
-int foo(x) => x > 9 ? x : bar(x); |
+import 'dart:io'; |
main() { |
- Expect.equals(foo(int.parse("1")), 10); |
-} |
+ print(''); // Print blank line to signal that we are ready. |
+ // Wait until signaled from spawning test. |
+ stdin.first.then((_) => exit(0)); |
+} |