Annotation of parser3/tests/341.html, revision 1.2

1.1       moko        1: $t[^table::create{id   price
                      2: 1      6.50
                      3: 2      70.00
                      4: 3      60.85
                      5: }]
                      6: 
                      7: $n[^table::create{name
                      8: id
                      9: price}]
                     10: 
                     11: Code coverage tests:
                     12: 
                     13: ^try-catch{^t.hash[id][ $.type[wrong] ]}
                     14: ^try-catch{^t.hash[id][ $.type[ $.not_string[] ] ]}
                     15: ^try-catch{^t.hash[id][ $.wrong[option] ]}
                     16: ^try-catch{^t.hash[id][price][ not hash ]}
                     17: ^try-catch{^t.hash[id][ $.wrong[] ][ $.type[string] ]}
                     18: ^try-catch{^t.hash[id][$n][ $.type[string] ]}
                     19: ^try-catch{^t.hash[id]{code}[ $.type[string] ]}
1.2     ! moko       20: ^try-catch{^t.hash[ups;price]}
        !            21: ^try-catch{^t.hash[id;ups]}
1.1       moko       22: 
                     23: Valid calls tests:
                     24: 
                     25: ^json:string[^t.hash[id]]
                     26: ^json:string[^t.hash[id][ $.type[table] ]]
                     27: ^json:string[^t.hash[id][price]]
                     28: ^json:string[^t.hash{id}[price][ $.distinct(true) ]]
                     29: ^json:string[^t.hash[id][$n]]
                     30: ^json:string[^t.hash{id}[$n][ $.distinct(true) ]]
                     31: 
                     32: New functionality tests:
                     33: 
                     34: ^json:string[^t.hash{=$t.id=}{$t.id - $t.price}]
                     35: ^json:string[^t.hash[id]{$t.id - $t.price}]
                     36: 
                     37: ^json:string[^t.hash{id}{code}[ $.distinct(true) ]]
                     38: ^json:string[^t.hash[id]{ $h[$.key[$t.price]] $h }]
1.2     ! moko       39: 
        !            40: ^json:string[^t.hash[id;]]

E-mail: