Diff for /parser3/tests/432.html between versions 1.1 and 1.3

version 1.1, 2024/10/02 16:28:50 version 1.3, 2024/10/22 21:58:56
Line 11  $a.1[a] Line 11  $a.1[a]
 $a.1[a]  $a.1[a]
 ^first_and_last[One element was added (^$a.1[a]);$a]  ^first_and_last[One element was added (^$a.1[a]);$a]
   
 $a[^array::create[  $a[^array::copy[
         $.1[a]          $.1[a]
         $.2[b]          $.2[b]
         $.3[c]          $.3[c]
Line 32  $a.5[e] Line 32  $a.5[e]
 $a.3[cc]  $a.3[cc]
 ^first_and_last[One element was added at the middle (^$a.3[cc]);$a]  ^first_and_last[One element was added at the middle (^$a.3[cc]);$a]
   
 <h3>_at on hash with 5 elements (^$a[ ^$.1[a] ^$.2[b] ^$.3[c] ^$.4[d] ^$.5[e] ])</h3>  $a[^array::copy[
 $a[^array::create[  
         $.1[a]          $.1[a]
         $.2[b]          $.2[b]
         $.3[c]          $.3[c]
         $.4[d]          $.4[d]
         $.5[e]          $.5[e]
 ]]  ]]
   ^test_at[]
   $a[a;b;c;d;e]
   ^test_at[]
   
   @test_at[]
   <h3>_at on array with ^a.count[] elements (^$a[ ^a.foreach[k;v]{^$.${k}[$v]}[ ] ])</h3>
 ^at(0)  ^at(0)
 ^at(1)  ^at(1)
 ^at(2)  ^at(2)
Line 74  $a[^array::create[ Line 79  $a[^array::create[
 ^at(3)[hash]  ^at(3)[hash]
 ^at(4)[hash]  ^at(4)[hash]
   
   ^^a._at[first;hash]=^print[^a._at[first;hash]]<br />
   ^^a._at[last;hash]=^print[^a._at[last;hash]]<br />
   
 <br />  <br />
 # check if values preserve tainting. keys are always lost tainting  # check if values preserve tainting. keys are always lost tainting
 <h3>The first element was replaced (^$a.1[b&b])</h3>  <h3>The first element was replaced (^$a.1[b&b])</h3>

Removed from v.1.1  
changed lines
  Added in v.1.3


E-mail: