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

Unified Diff: tests/isolate/src/TestFramework.dart

Issue 9017015: Dartc was not raising an error if an interface declared constructors without a default clause (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated the stub-generator tests to get rid of errors Created 9 years 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: tests/isolate/src/TestFramework.dart
diff --git a/tests/isolate/src/TestFramework.dart b/tests/isolate/src/TestFramework.dart
index 1122e96e8f84e98daae013626c0d624199d0b361..a727a0ff998f1ccaf08e7945bc8e50c705aac577 100644
--- a/tests/isolate/src/TestFramework.dart
+++ b/tests/isolate/src/TestFramework.dart
@@ -70,7 +70,6 @@ class TestCase {
void addToTestSuite(TestSuite suite) {
suite.addTestCase(this);
}
-
}
@@ -188,12 +187,12 @@ class TestExpectation {
}
Promise completesWithValue(Promise promise, var expected) {
- Promise result = new TestPromise(this);
+ Promise promiseResult = new TestPromise(this);
promise.then((value) {
Expect.equals(expected, value);
- result.complete(value);
+ promiseResult.complete(value);
});
- return result;
+ return promiseResult;
}
Function runs0(Function fn) {

Powered by Google App Engine
This is Rietveld 408576698