Permalink
Browse files

[t/spec] slight edits to S06-advanced_subroutine_features/caller.t

git-svn-id: http://svn.pugscode.org/pugs@25071 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 97563ca commit 99d737ea0b2a61fcbd28b4d733d6aff5cb1e94a9 finanalyst committed Jan 27, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 S06-advanced_subroutine_features/caller.t
@@ -9,15 +9,15 @@ plan 19;
# caller.subname
sub a_sub { b_sub() }
sub b_sub { try { caller.subname } }
-#?pugs: todo
-is ~a_sub(), "foo", "caller.sub works";
+#?pugs todo "feature"
+is ~a_sub(), "a_sub", "caller.sub works";
# caller.file
-#?pugs: todo
+#?pugs todo "feature"
ok index(~(try { caller.file }), "caller") >= 0, "caller.file works";
# caller.line (XXX: make sure to edit the expected line number!)
-#?pugs: 2 todo
+#?pugs 2 todo "feature"
sub call_line { caller.line };
is call_line(), 22, "caller.line works";

0 comments on commit 99d737e

Please sign in to comment.