Fix remaining uses of Directory.systemTemp outside test scripts.
BUG= R=sgjesse@google.com Review URL: https://codereview.chromium.org//25666015 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28576 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
@@ -78,7 +78,7 @@ class Object {
|
||||
external String toString();
|
||||
|
||||
/**
|
||||
* [noSuchMethod] is invoked when users invoke a non-existant method
|
||||
* [noSuchMethod] is invoked when users invoke a non-existent method
|
||||
* on an object. The name of the method and the arguments of the
|
||||
* invocation are passed to [noSuchMethod] in an [Invocation].
|
||||
* If [noSuchMethod] returns a value, that value becomes the result of
|
||||
|
||||
@@ -88,7 +88,6 @@ fuzzSyncRandomAccessMethods() {
|
||||
}
|
||||
|
||||
fuzzAsyncRandomAccessMethods() {
|
||||
var d = new Directory('');
|
||||
var temp = Directory.systemTemp.createTempSync('dart_file_fuzz');
|
||||
var file = new File('${temp.path}/x');
|
||||
file.createSync();
|
||||
|
||||
Reference in New Issue
Block a user