Skip to content

Commit

Permalink
fixes the types for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Apr 14, 2018
1 parent 332dfa6 commit 6a032cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/discover_tasks_test.dart
Expand Up @@ -44,8 +44,8 @@ main() {

group('discoverDeclaration', () {
test('should set cache', () {
var cache = {};
var methodDecl = goodLib.declarations[#method];
Map<DeclarationMirror, AnnotatedTask> cache = {};
DeclarationMirror methodDecl = goodLib.declarations[#method];
var annotated = discoveryGood.discoverDeclaration(methodDecl, cache);
expect(annotated.isDefault, isFalse);
expect(cache, {methodDecl: annotated});
Expand Down

0 comments on commit 6a032cf

Please sign in to comment.