summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/usageguide/appserver/node_modules/express/node_modules/qs/test/utils.js
blob: 4a8d8246c9995c769e02283af320b7a1fa02d3da (plain)
1
2
3
4
5
6
7
8
9
'use strict';

var test = require('tape');
var utils = require('../lib/utils');

test('merge()', function (t) {
    t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key');
    t.end();
});