Skip to content

Commit 1eed5fa

Browse files
committed
Fixed "firled" typo.
1 parent d28b8a9 commit 1eed5fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ test('query string', function() {
199199
deepEqual( window.url( '?poo', 'http://domain.com:400?poo=a:b' ), 'a:b' );
200200
deepEqual( window.url( '?poo', 'http://domain.com:400? & & &' ), undefined );
201201

202-
deepEqual( window.url( '?field[0]', 'http://domain.com?field[0]=zero&firled[1]=one' ), 'zero' );
202+
deepEqual( window.url( '?field[0]', 'http://domain.com?field[0]=zero&field[1]=one' ), 'zero' );
203203
deepEqual( window.url( '?field', 'http://domain.com?field[0]=zero&field[1]=one&var=test' ), ['zero', 'one'] );
204204
deepEqual( window.url( '?field', 'http://domain.com?field[0]=zero&field[3]=one&var=test' ), ['zero', undefined, undefined, 'one'] );
205205
deepEqual( window.url( '?var', 'http://domain.com?field[0]=zero&field[3]=one&var=test' ), 'test' );
@@ -217,7 +217,7 @@ test('hash string', function() {
217217
deepEqual( window.url( '#poo', 'http://domain.com#' ), undefined );
218218
deepEqual( window.url( '#poo', 'http://domain.com' ), undefined );
219219

220-
deepEqual( window.url( '#field[0]', 'http://domain.com#field[0]=zero&firled[1]=one' ), 'zero' );
220+
deepEqual( window.url( '#field[0]', 'http://domain.com#field[0]=zero&field[1]=one' ), 'zero' );
221221
deepEqual( window.url( '#field', 'http://domain.com#field[0]=zero&field[1]=one&var=test' ), ['zero', 'one'] );
222222
deepEqual( window.url( '#field', 'http://domain.com#field[0]=zero&field[3]=one&var=test' ), ['zero', undefined, undefined, 'one'] );
223223
deepEqual( window.url( '#var', 'http://domain.com#field[0]=zero&field[3]=one&var=test' ), 'test' );

0 commit comments

Comments
 (0)