Chromium Code Reviews

Unified Diff: pkg/unittest/test/matchers_test.dart

Issue 134963002: pkg/unittest: add @proxy to Mock (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « pkg/unittest/lib/mock.dart ('k') | pkg/unittest/test/mock_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/matchers_test.dart
diff --git a/pkg/unittest/test/matchers_test.dart b/pkg/unittest/test/matchers_test.dart
index 9f8e121944b59f8fcb564ca5808fa769121c4cbc..0b5103d383f8fa74988845e9ea5d9f58e5231a10 100644
--- a/pkg/unittest/test/matchers_test.dart
+++ b/pkg/unittest/test/matchers_test.dart
@@ -733,9 +733,7 @@ void main() {
// TODO(gram): extend this to more types; for now this is just
// the types being added in this CL.
- // TODO: enable this test when it works.
- // See issue 12052.
- skip_test('throwsCyclicInitializationError', () {
+ test('throwsCyclicInitializationError', () {
expect(() => new Bicycle(), throwsCyclicInitializationError);
});
@@ -762,6 +760,7 @@ void main() {
switch (a) {
case 0:
a += 1;
+ break;
Siggi Cherem (dart-lang) 2014/01/10 23:23:32 I think the idea of this test was to purposely lea
kevmoo 2014/01/10 23:37:45 Done.
case 1:
return;
}
« no previous file with comments | « pkg/unittest/lib/mock.dart ('k') | pkg/unittest/test/mock_test.dart » ('j') | no next file with comments »

Powered by Google App Engine