Lines Matching defs:check
187 function check(actual, expected, input) {
213 check(qs.parse(testCase[0]), testCase[2], testCase[0]);
218 check(qs.parse(testCase[0], ';', ':'), testCase[2], testCase[0]);
223 check(qs.parse(testCase[1]), testCase[2], testCase[1]);
233 check(f, createWithNoPrototype([
243 check(f.q, expectedInternal);
249 check(f, createWithNoPrototype([
258 check(f.q, expectedInternal);
346 check(qs.parse(), {});
349 check(qs.parse('a', []), { a: '' });
352 check(qs.parse('a', null, []), { '': 'a' });
416 check(qs.parse('%\u0100=%\u0101'), { '%Ā': '%ā' });
424 check(
427 check(
438 check(qs.parse('a=a', null, null, { decodeURIComponent: errDecode }),
474 check(
480 check(qs.parse('foo&bar', '&', '&'), { foo: '', bar: '' });