From 738e0529b33f20f9a1e445b7805bc2aff34fbacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemen=20Tu=C5=A1ar?= Date: Thu, 29 Aug 2024 20:09:05 +0100 Subject: [PATCH] :white_check_mark: add more tests --- test/unit/encode_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/encode_test.dart b/test/unit/encode_test.dart index dcdfbfb..d9d0967 100644 --- a/test/unit/encode_test.dart +++ b/test/unit/encode_test.dart @@ -3014,7 +3014,7 @@ void main() { ); }); - test('stringifies non-string keys', () { + test('encodes non-String keys', () { expect( QS.encode( { @@ -3022,7 +3022,7 @@ void main() { 'false': {}, }, const EncodeOptions( - filter: ['a', false], + filter: ['a', false, null], allowDots: true, encodeDotInKeys: true, ),