Skip to content

Commit 25cdb7a

Browse files
committed
test: Formatting
1 parent 95993ee commit 25cdb7a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/test.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@ describe('form', function() {
6868
it('formToArray: json object', function() {
6969
var a = $('#form1').formToArray();
7070
var o = $.fn.formArrayToJsonData(a);
71-
// console.log(JSON.stringify(o,0,4));
71+
7272
assert.strictEqual(o.constructor, Object, 'type check');
7373
assert.deepEqual(o, {
74-
"Hidden": "hiddenValue",
75-
"Name": "MyName1",
76-
"Password": "",
77-
"Multiple": "six",
78-
"Single": "one",
79-
"Single2": "A",
80-
"Check": "2",
81-
"Radio": "2",
82-
"action": "1",
83-
"method": "2",
84-
"Text": "This is Form1"
74+
'Hidden': 'hiddenValue',
75+
'Name': 'MyName1',
76+
'Password': '',
77+
'Multiple': 'six',
78+
'Single': 'one',
79+
'Single2': 'A',
80+
'Check': '2',
81+
'Radio': '2',
82+
'action': '1',
83+
'method': '2',
84+
'Text': 'This is Form1'
8585
});
8686
});
8787

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy