Annotation of parser3/tests/461.html, revision 1.1
1.1 ! moko 1: # when ^file:list fails: an empty table, or with $.exception(true) an error (feature #1084)
! 2: # only the exception type is shown: the comment is platform and machine dependent
! 3: @main[]
! 4: 1. missing, by default: ^rows{^file:list[404]}
! 5: 2. missing, exception(false): ^rows{^file:list[404][ $.exception(false) ]}
! 6: 3. missing, exception(true): ^rows{^file:list[404][ $.exception(true) ]}
! 7: 4. missing, with a filter and exception(true): ^rows{^file:list[404][ $.filter[\.p^$] $.exception(true) ]}
! 8: 5. a file, exception(true): ^rows{^file:list[461.html][ $.exception(true) ]}
! 9: 6. existing, exception(true): ^rows{^file:list[366_dir][ $.exception(true) ]}
! 10: 7. a uri, by default, no directory as with ^^file:delete: ^rows{^file:list[http://example.com/]}
! 11: 8. a uri, exception(true): ^rows{^file:list[http://example.com/][ $.exception(true) ]}
! 12:
! 13: @rows[code][t]
! 14: ^try{
! 15: $t[$code]
! 16: $result[rows ^t.count[]]
! 17: }{
! 18: $exception.handled(true)
! 19: $result[exception $exception.type]
! 20: }
E-mail: