Index: test/runner/runner_test.dart |
diff --git a/test/runner/runner_test.dart b/test/runner/runner_test.dart |
index af67c03590988164b0ae24d3a417721437cb0eab..c1c003967d822199c5fa38a075fcddec572a2c22 100644 |
--- a/test/runner/runner_test.dart |
+++ b/test/runner/runner_test.dart |
@@ -8,6 +8,7 @@ import 'dart:io'; |
import 'package:path/path.dart' as p; |
import 'package:test/src/util/exit_codes.dart' as exit_codes; |
+import 'package:test/src/util/io.dart'; |
import 'package:test/test.dart'; |
import '../io.dart'; |
@@ -51,7 +52,7 @@ Usage: pub run test:test [files or directories...] |
void main() { |
setUp(() { |
- _sandbox = Directory.systemTemp.createTempSync('test_').path; |
+ _sandbox = createTempDir(); |
}); |
tearDown(() { |