Index: pkg/lookup_map/test/lookup_map_test.dart |
diff --git a/pkg/lookup_map/test/lookup_map_test.dart b/pkg/lookup_map/test/lookup_map_test.dart |
index ce001dd60303ee5789e8112f4cfc625369b5bf95..7695833c769b08455758cd9da59081bbd23d2291 100644 |
--- a/pkg/lookup_map/test/lookup_map_test.dart |
+++ b/pkg/lookup_map/test/lookup_map_test.dart |
@@ -29,14 +29,14 @@ main() { |
}); |
test('pair constructor', () { |
- var m = const LookupMap.pair(A, "the-text-for-A"); |
+ var m = const LookupMap<dynamic, String>.pair(A, "the-text-for-A"); |
expect(m[A], 'the-text-for-A'); |
expect(m[B], null); |
}); |
test('nested lookup', () { |
var m = const LookupMap(const [], |
- const [const LookupMap.pair(A, "the-text-for-A")]); |
+ const [const LookupMap<dynamic, String>.pair(A, "the-text-for-A")]); |
expect(m[A], 'the-text-for-A'); |
expect(m[B], null); |
}); |