From eac99db65da9c8da8a92ea4cd99bd23c08cb3f90 Mon Sep 17 00:00:00 2001 From: "whesse@google.com" Date: Mon, 14 Oct 2013 10:53:12 +0000 Subject: [PATCH] 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 --- sdk/lib/core/object.dart | 2 +- tests/standalone/io/file_fuzz_test.dart | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/lib/core/object.dart b/sdk/lib/core/object.dart index 211d3efabb6..41ff788abb9 100644 --- a/sdk/lib/core/object.dart +++ b/sdk/lib/core/object.dart @@ -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 diff --git a/tests/standalone/io/file_fuzz_test.dart b/tests/standalone/io/file_fuzz_test.dart index 45dc7b370a1..d0e090a337b 100644 --- a/tests/standalone/io/file_fuzz_test.dart +++ b/tests/standalone/io/file_fuzz_test.dart @@ -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();