Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Unified Diff: mojo/dart/test/validation_test.dart

Issue 996923003: Dart: Better handle leak checks. close() is async. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix regexes Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/dart/test/validation_test.dart
diff --git a/mojo/dart/test/validation_test.dart b/mojo/dart/test/validation_test.dart
index 1782f702095555c003b65646ba248729465c404d..f3599beedbbd5ed738c6a9c693436e1d956f96a6 100644
--- a/mojo/dart/test/validation_test.dart
+++ b/mojo/dart/test/validation_test.dart
@@ -36,7 +36,7 @@ class ConformanceTestInterfaceImpl implements ConformanceTestInterface {
method9(List<List<MojoHandle>> param0) => _complete();
method10(Map<String, int> param0) => _complete();
- void close({bool nodefer: false}) => _stub.close(nodefer: nodefer);
+ Future close({bool nodefer: false}) => _stub.close(nodefer: nodefer);
}
parser.ValidationParseResult readAndParseTest(String test) {

Powered by Google App Engine
This is Rietveld 408576698