Chromium Code Reviews

Unified Diff: test/util/parse_annotations_test.dart

Issue 1017813002: pkg/unittest: fix a broken test and update status files (Closed) Base URL: https://github.com/dart-lang/unittest.git@master
Patch Set: Created 5 years, 9 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 | « .status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/util/parse_annotations_test.dart
diff --git a/test/util/parse_annotations_test.dart b/test/util/parse_annotations_test.dart
index 8e7fc7ecc160b3f53e5ccffa1d394d432071ee2a..0ae028dca55cb07faa3c81cf402a4fbb30c344ac 100644
--- a/test/util/parse_annotations_test.dart
+++ b/test/util/parse_annotations_test.dart
@@ -96,7 +96,10 @@ void main() {
expect(args[0], new isInstanceOf<NamedExpression>());
expect(args[0].expression, new isInstanceOf<StringLiteral>());
expect(args[0].expression.stringValue, equals('foo'));
- expect(args[1], new isInstanceOf<IntegerLiteral>());
+
+ print([args[1], args[1].runtimeType]);
Bob Nystrom 2015/03/17 19:55:25 Delete this.
kevmoo 2015/03/17 19:57:00 Done.
+
+ expect(args[1], new isInstanceOf<NamedExpression>());
expect(args[1].expression, new isInstanceOf<IntegerLiteral>());
expect(args[1].expression.value, equals(12));
});
« no previous file with comments | « .status ('k') | no next file » | no next file with comments »

Powered by Google App Engine