Browse Source

* Patch from Michael van Ham to fix object from array of const demo (bug ID 25935)

git-svn-id: trunk@27344 -
michael 11 years ago
parent
commit
07108c150b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-json/examples/simpledemo.pp

+ 1 - 1
packages/fcl-json/examples/simpledemo.pp

@@ -89,7 +89,7 @@ begin
   EndTest('Array value from array of const',TJSONArray.Create([1,'a',2,'b']));
   EndTest('Array value from array of const',TJSONArray.Create([1,'a',2,'b']));
   EndTest('Empty Object value',TJSONObject.Create);
   EndTest('Empty Object value',TJSONObject.Create);
   // Name, Value, name, value
   // Name, Value, name, value
-  EndTest('Object from array of const',TJSONArray.Create(['a',1,'b',True,'C',Nil]));
+  EndTest('Object from array of const',TJSONObject.Create(['a',1,'b',True,'C',Nil]));
 
 
 end;
 end;