Skip to content

Commit

Permalink
Remove test that is not needed with P::M::S v1.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Sep 7, 2009
1 parent 172fdb9 commit 9909818
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions t/invalid.t
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,6 @@ EOC
is($line, 3, "Error from line 3");


test_for_error(
qr/^'SomeRandomTC' could not be parsed to a type constraint .*? at \(eval \d+\) line (\d+)\b/,
"Undefined TC",
<<'EOC');
use TryCatch;
try { }
catch (SomeRandomTC $e) {}
EOC

is($line, 4, "Error from line 4");

compile_ok("try is not too reserved", <<'EOC');
use TryCatch;
Expand Down

0 comments on commit 9909818

Please sign in to comment.