Annotation of parser3/tests/redis/config.p, revision 1.1

1.1     ! moko        1: # the redis-server started by run_tests.sh
        !             2: 
        !             3: @auto[]
        !             4: $options[
        !             5:        $.port(6399)
        !             6:        $.password[test]
        !             7: ]
        !             8: 
        !             9: @open_redis[extra][o]
        !            10: $o[^hash::create[$options]]
        !            11: ^if($extra is hash){^o.add[$extra]}
        !            12: $result[^redis::open[$o]]
        !            13: 
        !            14: # the value as one-line json, to see the types
        !            15: @show[value][s]
        !            16: $s[^json:string[$value]]
        !            17: $result[^s.match[\n][g]{}]
        !            18: 
        !            19: # the exception of the code, which is expected
        !            20: @failed[code]
        !            21: ^try{$code}{$exception.handled(true)$exception.type: $exception.comment}
        !            22: 
        !            23: @unhandled_exception[exception;stack]
        !            24: $exception.type: $exception.comment

E-mail: