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

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: cl nit 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
« 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..a655d16027624f0f63790b9be47d025463a95e1a 100644
--- a/test/util/parse_annotations_test.dart
+++ b/test/util/parse_annotations_test.dart
@@ -96,7 +96,7 @@ 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>());
+ 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
This is Rietveld 408576698