Permalink
Browse files

[S32-num/pi.t] pi() is no longer valid

  • Loading branch information...
1 parent 758acfb commit 3c40f3ac69bcc136d6603d55ebe0de46c98e9dde @sorear sorear committed Jun 6, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 S32-num/pi.t
View
@@ -21,9 +21,7 @@ is_approx(Num::pi, $PI, "Num::pi");
is_approx(eval("pi"), $PI, "pi imported by default");
-is_approx(eval("3 + pi()"), $PI+3, "3+pi(), as a sub");
-
-is_approx(eval("pi() + 3"), $PI+3, "pi()+3, as a sub");
+eval_dies_ok("3 + pi()", "pi() is not a sub");
is_approx(eval("3 + pi"), $PI+3, "3+pi, as a bareword");

0 comments on commit 3c40f3a

Please sign in to comment.