@@ -29,7 +29,7 @@ describe('hash', function () {
29
29
} ) ;
30
30
31
31
it ( 'handles Array instances' , function ( ) {
32
- expectHash ( hashify ( [ 'a string' ] ) , '["a string",]' ) ;
32
+ expectHash ( hashify ( [ 'a string' ] ) , '["a string",]' ) ;
33
33
} ) ;
34
34
35
35
it ( 'handles empty Array instances' , function ( ) {
@@ -45,13 +45,13 @@ describe('hash', function () {
45
45
} ) ;
46
46
47
47
it ( 'handles nested Object and Array instances' , function ( ) {
48
- expectHash ( hashify ( { foo : 123.456 , 'a key' : 'a value' , obj : { arr : [ { def : 'ghi' } ] } } ) , '{"a key":"a value","foo":123.456,"obj":{"arr":[{"def":"ghi",},],},}' ) ;
48
+ expectHash ( hashify ( { foo : 123.456 , 'a key' : 'a value' , obj : { arr : [ { def : 'ghi' } ] } } ) , '{"a key":"a value","foo":123.456,"obj":{"arr":[{"def":"ghi",},],},}' ) ;
49
49
} ) ;
50
50
} ) ;
51
51
52
52
describe ( 'hashArray' , function ( ) {
53
53
it ( 'handles Array instances' , function ( ) {
54
- expectHash ( hashArray ( [ 'a string' ] ) , '["a string",]' ) ;
54
+ expectHash ( hashArray ( [ 'a string' ] ) , '["a string",]' ) ;
55
55
} ) ;
56
56
57
57
it ( 'handles empty Array instances' , function ( ) {
@@ -69,7 +69,7 @@ describe('hash', function () {
69
69
} ) ;
70
70
71
71
it ( 'handles nested Object and Array instances' , function ( ) {
72
- expectHash ( hashObject ( { foo : 123.456 , 'a key' : 'a value' , obj : { arr : [ { def : 'ghi' } ] } } ) , '{"a key":"a value","foo":123.456,"obj":{"arr":[{"def":"ghi",},],},}' ) ;
72
+ expectHash ( hashObject ( { foo : 123.456 , 'a key' : 'a value' , obj : { arr : [ { def : 'ghi' } ] } } ) , '{"a key":"a value","foo":123.456,"obj":{"arr":[{"def":"ghi",},],},}' ) ;
73
73
} ) ;
74
74
} ) ;
75
75
0 commit comments