Skip to content

Commit

Permalink
✅ add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Aug 29, 2024
1 parent dcbba05 commit 738e052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/encode_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3014,15 +3014,15 @@ void main() {
);
});

test('stringifies non-string keys', () {
test('encodes non-String keys', () {
expect(
QS.encode(
{
'a': 'b',
'false': {},
},
const EncodeOptions(
filter: ['a', false],
filter: ['a', false, null],
allowDots: true,
encodeDotInKeys: true,
),
Expand Down

0 comments on commit 738e052

Please sign in to comment.