X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F07-debugger.t;h=decd452e7da8e0a72924ee8a866512ee5d4808c7;hb=80e4e2679ecae28c5a3aeacdd10e5a87d9b0f4b4;hp=fd4ee8712ed5e1f8d32c3b5093395b0ef1331d7a;hpb=07fbef3daa75ec3d7339aa3d0daf16dfd46a5a84;p=p5sagit%2Fnamespace-clean.git diff --git a/t/07-debugger.t b/t/07-debugger.t index fd4ee87..decd452 100644 --- a/t/07-debugger.t +++ b/t/07-debugger.t @@ -1,13 +1,15 @@ -#!/usr/bin/perl -d +use Test::More; + +BEGIN { + $ENV{PERLDB_OPTS} = 'NonStop'; +} BEGIN { - 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; +#line 1 +#!/usr/bin/perl -d +#line 10 + } { @@ -24,11 +26,9 @@ BEGIN { } } -use Test::More tests => 5; - ok( !Foo->can("foo"), "foo cleaned up" ); ok( !Foo->can("baz"), "baz cleaned up" ); Foo->bar(); -pass(); +done_testing;