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

Unified Diff: test/backend/platform_selector/parser_test.dart

Issue 1123123002: Stop passing arguments to isInstanceOf. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 7 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 | « pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/backend/platform_selector/parser_test.dart
diff --git a/test/backend/platform_selector/parser_test.dart b/test/backend/platform_selector/parser_test.dart
index bc0df398a3c137d7a2660b9989ebbe7ba811c633..04f356c6e631d07caded9806417c525e7e149f53 100644
--- a/test/backend/platform_selector/parser_test.dart
+++ b/test/backend/platform_selector/parser_test.dart
@@ -7,17 +7,16 @@ import 'package:test/src/backend/platform_selector/ast.dart';
import 'package:test/src/backend/platform_selector/parser.dart';
/// A matcher that asserts that a value is a [ConditionalNode].
-Matcher _isConditionalNode =
- new isInstanceOf<ConditionalNode>("ConditionalNode");
+Matcher _isConditionalNode = new isInstanceOf<ConditionalNode>();
/// A matcher that asserts that a value is an [OrNode].
-Matcher _isOrNode = new isInstanceOf<OrNode>("OrNode");
+Matcher _isOrNode = new isInstanceOf<OrNode>();
/// A matcher that asserts that a value is an [AndNode].
-Matcher _isAndNode = new isInstanceOf<AndNode>("AndNode");
+Matcher _isAndNode = new isInstanceOf<AndNode>();
/// A matcher that asserts that a value is a [NotNode].
-Matcher _isNotNode = new isInstanceOf<NotNode>("NotNode");
+Matcher _isNotNode = new isInstanceOf<NotNode>();
void main() {
group("parses a conditional expression", () {
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698