From 9909818b672536adedf669b2256c73436f77b3ff Mon Sep 17 00:00:00 2001 From: Ash Berlin Date: Mon, 7 Sep 2009 22:50:53 +0100 Subject: [PATCH] Remove test that is not needed with P::M::S v1.3.12 --- t/invalid.t | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/t/invalid.t b/t/invalid.t index 19d0c08..fc9f25e 100644 --- a/t/invalid.t +++ b/t/invalid.t @@ -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;