--- parser3/tests/261.html 2010/10/21 15:19:48 1.1
+++ parser3/tests/261.html 2010/10/24 21:41:25 1.2
@@ -10,12 +10,21 @@ $string_methods[^reflection:methods[stri
$s[]
$v[$void]
-String vs void:
+Empty string vs void:
Json: ^json:string[$s] vs ^json:string[$v]
Length: ^s.length[] vs ^v.length[]
Double: ^s.double(0) vs ^v.double(0)
Base64: "^s.base64[]" vs "^v.base64[]"
+Hash compatibility: "$s.key" "$v.key"
+
+Non-empty string: ^try{
+ $s[string]
+ $s.key
+}{
+ $exception.handled(1)
+ has no hash compatibility
+}
^string_methods.foreach[k;v]{
^if(!($v.$k is 'junction')){