File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -68,20 +68,20 @@ describe('form', function() {
68
68
it ( 'formToArray: json object' , function ( ) {
69
69
var a = $ ( '#form1' ) . formToArray ( ) ;
70
70
var o = $ . fn . formArrayToJsonData ( a ) ;
71
- // console.log(JSON.stringify(o,0,4));
71
+
72
72
assert . strictEqual ( o . constructor , Object , 'type check' ) ;
73
73
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'
85
85
} ) ;
86
86
} ) ;
87
87
You can’t perform that action at this time.
0 commit comments