Permalink
Browse files

update exception handling in t/01.t

  • Loading branch information...
1 parent 3962d71 commit 2bd4c9b7aace3562098f98e900ca46066f23d96b @moritz moritz committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/01.t
View
@@ -91,7 +91,7 @@ try {
is($url_1_valid, 1, 'validating parser okd good URI');
$u_v = URI.new('http:://?#?#', :is_validating<1>);
CATCH {
- $url_2_valid = 0;
+ default { $url_2_valid = 0 }
}
}
is($url_2_valid, 0, 'validating parser rejected bad URI');

0 comments on commit 2bd4c9b

Please sign in to comment.