From 90e284d3b2c60ecece6d6379d41e64955b3e883d Mon Sep 17 00:00:00 2001 From: Anton Cherkashyn Date: Wed, 20 Feb 2019 09:20:49 -0800 Subject: [PATCH] Fix missing code coverage --- test/collection/map_extensions_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/collection/map_extensions_test.dart b/test/collection/map_extensions_test.dart index 3647e95d..ee7f852b 100644 --- a/test/collection/map_extensions_test.dart +++ b/test/collection/map_extensions_test.dart @@ -539,7 +539,7 @@ void testMap(KtMap Function() emptyMap, test("predicate must be non null", () { final e = - catchException(() => emptyMap().none(null)); + catchException(() => emptyMap().all(null)); expect(e.message, allOf(contains("null"), contains("predicate"))); }); }); @@ -564,7 +564,7 @@ void testMap(KtMap Function() emptyMap, test("predicate must be non null", () { final e = - catchException(() => emptyMap().none(null)); + catchException(() => emptyMap().any(null)); expect(e.message, allOf(contains("null"), contains("predicate"))); }); });