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

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: 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..9f2bb5bdd3a2f09ad878fae75c651119a5a851bc 100644
--- a/test/backend/platform_selector/parser_test.dart
+++ b/test/backend/platform_selector/parser_test.dart
@@ -8,16 +8,16 @@ 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");
+ new isInstanceOf<ConditionalNode>();
kevmoo 2015/05/06 05:18:33 could be one line?
nweiz 2015/05/06 18:12:21 Done.
/// 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