@@ -107,7 +107,7 @@ function run_jsonlab_test(tests)
107
107
' {"_MapData_":[[1.1,true],[1.2,"-_-"]]}' , ' compact' , 1 , ' usemap' , 1 );
108
108
end
109
109
if (exist(' dictionary' ))
110
- test_jsonlab(' dictionary with string keys' , @savejson , dictionary([" Andy" , " ^_^" ], {true , ' -_-' }), ...
110
+ test_jsonlab(' dictionary with string keys' , @savejson , dictionary([string( ' Andy' ), string( ' ^_^' ) ], {true , ' -_-' }), ...
111
111
' {"Andy":true,"^_^":"-_-"}' , ' compact' , 1 , ' usemap' , 1 );
112
112
test_jsonlab(' dictionary with cell keys' , @savejson , dictionary({' Andy' , ' ^_^' }, {true , ' -_-' }), ...
113
113
' {"_MapData_":[["Andy",true],["^_^","-_-"]]}' , ' compact' , 1 , ' usemap' , 1 );
@@ -252,7 +252,7 @@ function run_jsonlab_test(tests)
252
252
' {U<4>AndyTU<3>^_^SU<3>-_-}' , ' debug' , 1 , ' usemap' , 1 );
253
253
end
254
254
if (exist(' dictionary' ))
255
- test_jsonlab(' dictionary with string keys' , @savebj , dictionary([" Andy" , " ^_^" ], {true , ' -_-' }), ...
255
+ test_jsonlab(' dictionary with string keys' , @savebj , dictionary([string( ' Andy' ), string( ' ^_^' ) ], {true , ' -_-' }), ...
256
256
' {U<4>AndyTU<3>^_^SU<3>-_-}' , ' debug' , 1 , ' usemap' , 1 );
257
257
test_jsonlab(' dictionary with cell keys' , @savebj , dictionary({' Andy' , ' ^_^' }, {true , ' -_-' }), ...
258
258
' {U<4>AndyTU<3>^_^SU<3>-_-}' , ' debug' , 1 , ' usemap' , 1 );
0 commit comments