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

Unified Diff: pkg/analyzer/test/utils.dart

Issue 2653833003: Strong mode inference tests. (Closed)
Patch Set: Created 3 years, 11 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
Index: pkg/analyzer/test/utils.dart
diff --git a/pkg/analyzer/test/utils.dart b/pkg/analyzer/test/utils.dart
index 6d70357280673cd487f00fe20b1759a01c3e24be..4d1314e2157fa0bd3f6b55129ca6bdca05ce7c82 100644
--- a/pkg/analyzer/test/utils.dart
+++ b/pkg/analyzer/test/utils.dart
@@ -234,6 +234,11 @@ class TypeAssertions {
Asserter<DartType> get isNum => isType(_typeProvider.numType);
/**
+ * Primitive assertion for the Object type
+ */
+ Asserter<DartType> get isObject => isType(_typeProvider.objectType);
+
+ /**
* Primitive assertion for the string type
*/
Asserter<DartType> get isString => isType(_typeProvider.stringType);

Powered by Google App Engine
This is Rietveld 408576698