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

Unified Diff: packages/quiver/test/mirrors_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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 | « packages/quiver/test/iterables/zip_test.dart ('k') | packages/quiver/test/pattern/glob_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/quiver/test/mirrors_test.dart
diff --git a/packages/quiver/test/mirrors_test.dart b/packages/quiver/test/mirrors_test.dart
index f8304ba9f89d87cefb3c4cc88c48ca00a60cc1b7..f69571ecc5c46155aed5ee1b22b21f0f7a95f56f 100644
--- a/packages/quiver/test/mirrors_test.dart
+++ b/packages/quiver/test/mirrors_test.dart
@@ -76,7 +76,7 @@ main() {
test('should be callable', () {
var i = 2;
var mirror = reflect(i);
- var method = new Method(mirror, const Symbol('+'));
+ var method = new Method(mirror, const Symbol('+')) as dynamic;
expect(method(3), 5);
});
@@ -84,7 +84,7 @@ main() {
// this test will fail when named argument support is added
var i = [1, 2];
var mirror = reflect(i);
- var method = new Method(mirror, const Symbol('toList'));
+ var method = new Method(mirror, const Symbol('toList')) as dynamic;
expect(method(growable: false), [1, 2]);
});
});
« no previous file with comments | « packages/quiver/test/iterables/zip_test.dart ('k') | packages/quiver/test/pattern/glob_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698