Index: pkg/docgen/test/single_library_test.dart |
diff --git a/pkg/docgen/test/single_library_test.dart b/pkg/docgen/test/single_library_test.dart |
index dd4044ed63a4a7f1249f4ea24760820d35603d26..f1b1b18afca0ae069f0f30e322405c8592494698 100644 |
--- a/pkg/docgen/test/single_library_test.dart |
+++ b/pkg/docgen/test/single_library_test.dart |
@@ -10,7 +10,7 @@ import '../lib/docgen.dart'; |
main() { |
group('Generate docs for', () { |
test('one simple file.', () { |
- var temporaryDir = Directory.createSystemTempSync('single_library_'); |
+ var temporaryDir = Directory.systemTemp.createTempSync('single_library_'); |
var fileName = path.join(temporaryDir.path, 'temp.dart'); |
var file = new File(fileName); |
file.writeAsStringSync(''' |