Skip to content

Commit

Permalink
[t] Remove wrong test that I have wrote
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandobrito committed Dec 31, 2010
1 parent f03d78b commit 5fd2b05
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions t/pmc/sub.t
Expand Up @@ -8,7 +8,7 @@ use lib qw( . lib ../lib ../../lib );
use Test::More;
use Parrot::Test::Util 'create_tempfile';

use Parrot::Test tests => 80;
use Parrot::Test tests => 79;
use Parrot::Config;

=head1 NAME
Expand Down Expand Up @@ -1284,15 +1284,6 @@ CODE
/Can't assign a non-Sub type to a Sub/
OUTPUT

pir_error_output_like( <<'CODE', <<'OUTPUT', "set_pointer exception" );
.sub a
$P0 = new ['Sub']
$P0.'set_pointer'()
.end
CODE
/Method 'set_pointer' not found for invocant of class 'Sub'/
OUTPUT

pir_output_is( <<'CODE', <<'OUTPUT', 'destroy' );
.sub main :main
$P0 = get_global 'ok'
Expand Down

0 comments on commit 5fd2b05

Please sign in to comment.