aboutsummaryrefslogtreecommitdiff
path: root/node_modules/qs/test/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/qs/test/utils.js')
-rwxr-xr-xnode_modules/qs/test/utils.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/qs/test/utils.js b/node_modules/qs/test/utils.js
new file mode 100755
index 0000000..4a8d824
--- /dev/null
+++ b/node_modules/qs/test/utils.js
@@ -0,0 +1,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();
+});