Skip to content

Commit

Permalink
Fix missing code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
acherkashyn committed Feb 20, 2019
1 parent 070513f commit 90e284d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/collection/map_extensions_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ void testMap(KtMap<K, V> Function<K, V>() emptyMap,

test("predicate must be non null", () {
final e =
catchException<ArgumentError>(() => emptyMap().none(null));
catchException<ArgumentError>(() => emptyMap().all(null));
expect(e.message, allOf(contains("null"), contains("predicate")));
});
});
Expand All @@ -564,7 +564,7 @@ void testMap(KtMap<K, V> Function<K, V>() emptyMap,

test("predicate must be non null", () {
final e =
catchException<ArgumentError>(() => emptyMap().none(null));
catchException<ArgumentError>(() => emptyMap().any(null));
expect(e.message, allOf(contains("null"), contains("predicate")));
});
});
Expand Down

0 comments on commit 90e284d

Please sign in to comment.