Chromium Code Reviews| 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 ea5ad6b51b3a997f0b41c223c653593ca2851510..1d7ded5a54d746eec7363d8e669952559714ca57 100644 |
| --- a/pkg/docgen/test/single_library_test.dart |
| +++ b/pkg/docgen/test/single_library_test.dart |
| @@ -48,8 +48,9 @@ main() { |
| var fileName = path.join(temporaryDir.path, 'temp.dart'); |
| var file = new File(fileName); |
| file.writeAsStringSync(DART_LIBRARY); |
| - getMirrorSystem([new Uri.file(fileName)]) |
| - .then(expectAsync1((mirrorSystem) { |
| + |
| + return getMirrorSystem([new Uri.file(fileName)]) |
|
Alan Knight
2014/02/19 19:00:46
Same here.
|
| + .then((mirrorSystem) { |
| var testLibraryUri = new Uri.file(path.absolute(fileName), |
| windows: Platform.isWindows); |
| var library = new Library(mirrorSystem.libraries[testLibraryUri]); |
| @@ -121,7 +122,7 @@ main() { |
| // Testing something with no reference |
| var libraryDocComment = method.fixReference('foobar').text; |
| expect(libraryDocComment, 'foobar'); |
| - })).whenComplete(() => temporaryDir.deleteSync(recursive: true)); |
| + }).whenComplete(() => temporaryDir.deleteSync(recursive: true)); |
| }); |
| }); |
| } |