Skip to content

Commit

Permalink
Fix tests to use new directory setter
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmenon committed Jun 4, 2013
1 parent 6400525 commit 83fb9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ void main() {
final options = new Options();
final vm = options.executable;
final script = options.script;
Future<String> dir = new File(script).directory().then((d) => d.path);
dir.then((path) => runTests(vm, '$path/..'));
String path = new File(script).directory.path;
runTests(vm, '$path/..');
}

void runTests(String vm, String path) {
Expand Down

0 comments on commit 83fb9d7

Please sign in to comment.