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, ),