Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 9f12ca8

Browse files
committed
test: Rename assert.toJSON 'json' parameter to 'obj'
1 parent d23b6f7 commit 9f12ca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jquery.json.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
/*global QUnit */
66

77
// Utility function
8-
QUnit.assert.toJSON = function (json, string, description) {
9-
QUnit.assert.equal(jQuery.toJSON(json), string, description || '');
8+
QUnit.assert.toJSON = function (obj, string, description) {
9+
QUnit.assert.equal(jQuery.toJSON(obj), string, description || '');
1010
};
1111

1212
QUnit.module('jQuery.toJSON');

0 commit comments

Comments
 (0)