--- parser3/tests/341.html 2016/07/29 13:58:50 1.1 +++ parser3/tests/341.html 2016/08/04 20:27:16 1.3 @@ -2,6 +2,7 @@ $t[^table::create{id price 1 6.50 2 70.00 3 60.85 +_default 0 }] $n[^table::create{name @@ -17,6 +18,8 @@ Code coverage tests: ^try-catch{^t.hash[id][ $.wrong[] ][ $.type[string] ]} ^try-catch{^t.hash[id][$n][ $.type[string] ]} ^try-catch{^t.hash[id]{code}[ $.type[string] ]} +^try-catch{^t.hash[ups;price]} +^try-catch{^t.hash[id;ups]} Valid calls tests: @@ -34,3 +37,5 @@ New functionality tests: ^json:string[^t.hash{id}{code}[ $.distinct(true) ]] ^json:string[^t.hash[id]{ $h[$.key[$t.price]] $h }] + +^json:string[^t.hash[id;]]