summaryrefslogtreecommitdiff
path: root/ext/B/t/lint.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/B/t/lint.t')
-rw-r--r--ext/B/t/lint.t7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/B/t/lint.t b/ext/B/t/lint.t
index 6f21eaf6c3..7be86acce2 100644
--- a/ext/B/t/lint.t
+++ b/ext/B/t/lint.t
@@ -63,13 +63,10 @@ RESULT
Illegal reference to private name _x at -e line 1
RESULT
- {
- local $TODO = q/doesn't catch methods/;
- runlint 'private-names', 'sub A::_f{};A->_f()', <<'RESULT',
+ runlint 'private-names', 'sub A::_f{};A->_f()', <<'RESULT',
Illegal reference to private method name _f at -e line 1
RESULT
- 'private-names';
- }
+ 'private-names (method)';
runlint 'undefined-subs', 'foo()', <<'RESULT';
Undefined subroutine foo called at -e line 1