RegressionTests__JavaScriptTests.st
changeset 1909 bcc178fa82a7
parent 1908 01dc41611b51
child 1910 40f9298cec45
equal deleted inserted replaced
1908:01dc41611b51 1909:bcc178fa82a7
  4320      self run:#testString01
  4320      self run:#testString01
  4321      self new testString01
  4321      self new testString01
  4322     "
  4322     "
  4323 !
  4323 !
  4324 
  4324 
       
  4325 testString01b
       
  4326     self
       
  4327         execute:'test(str) {
       
  4328                     return "foo".length();
       
  4329                  }'
       
  4330         for:nil
       
  4331         arguments:#( nil )
       
  4332         expect:3
       
  4333 
       
  4334     "
       
  4335      self run:#testString01b
       
  4336      self new testString01b
       
  4337     "
       
  4338 !
       
  4339 
  4325 testString02
  4340 testString02
  4326     self
  4341     self
  4327 	execute:'test(str) {
  4342 	execute:'test(str) {
  4328 		    return str.size();
  4343 		    return str.size();
  4329 		 }'
  4344 		 }'