RegressionTests__JavaScriptTests.st
changeset 1281 cdfbc80e4791
parent 1263 57708dac3859
child 1295 1918a00e4d3c
equal deleted inserted replaced
1280:977c1f04083e 1281:cdfbc80e4791
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "{ Package: 'exept:regression' }"
     3 "{ Package: 'exept:regression' }"
     2 
     4 
     3 "{ NameSpace: RegressionTests }"
     5 "{ NameSpace: RegressionTests }"
     4 
     6 
     5 TestCase subclass:#JavaScriptTests
     7 TestCase subclass:#JavaScriptTests
   239         execute:'test(arr, val) {
   241         execute:'test(arr, val) {
   240                     arr[1] = val;
   242                     arr[1] = val;
   241                     return arr;
   243                     return arr;
   242                  }'
   244                  }'
   243         for:nil
   245         for:nil
   244         arguments:#( #(10 20 30) 99 )
   246         arguments:#( #(10 20 30) 99 ) deepCopy      "deepCopy - this is immutable"
   245         expect:#(99 20 30)
   247         expect:#(99 20 30)
   246 
   248 
   247     "
   249     "
   248      self run:#testArray03
   250      self run:#testArray03
   249      self new testArray03  
   251      self new testArray03