Fix all debugger issues from perl 5.8.1 on FC++ (RT#69862)
[p5sagit/namespace-clean.git] / xt / author / 07-debugger.t
diff --git a/xt/author/07-debugger.t b/xt/author/07-debugger.t
deleted file mode 100644 (file)
index 7335992..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-use Test::More;
-
-BEGIN {
-    plan skip_all => 'Only applicable on perl >= 5.8.9'
-        if $] <= 5.008008;
-
-#line 1
-#!/usr/bin/perl -d
-#line 10
-
-    push @DB::typeahead, "c", "q";
-
-    # try to shut it up at least a little bit
-    open my $out, ">", \my $out_buf;
-    $DB::OUT = $out;
-    open my $in, "<", \my $in_buf;
-    $DB::IN = $in;
-}
-
-{
-    package Foo;
-
-    BEGIN { *baz = sub { 42 } }
-    sub foo { 22 }
-
-    use namespace::clean;
-
-    sub bar {
-        ::is(baz(), 42);
-        ::is(foo(), 22);
-    }
-}
-
-ok( !Foo->can("foo"), "foo cleaned up" );
-ok( !Foo->can("baz"), "baz cleaned up" );
-
-Foo->bar();
-
-done_testing;