Skip to content

Commit 2c08765

Browse files
committed
fix testing bug on node.js < v8
1 parent a96b921 commit 2c08765

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ node_js:
66
- "6"
77
- "7"
88
- "8"
9+
- "9"
910

1011
scripts:
1112
- yarn test

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('parse', () => {
3232
});
3333

3434
test('a=b&&e=f&a=c&a+=d+dd', () => {
35-
expect(parse('a=b&&e=f&a=c&a+=d+dd')).toEqual(qs.parse('a=b&&e=f&a=c&a+=d+dd'));
35+
expect(parse('a=b&&e=f&a=c&a+=d+dd')).toEqual({ a: ['b', 'c'], 'a ': 'd dd', e: 'f' });
3636
});
3737

3838
test('a=b& &e=f&a=c&a+=d+dd', () => {

0 commit comments

Comments
 (0)