Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions t/core_rwops.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ my @done = qw/
/;
can_ok( 'SDL::RWOps', @done );

open FH, '>', '.rwops';
print FH 'rwops';
close FH;

my $file = SDL::RWOps->new_file( '.rwops', 'rw' );
my $file = SDL::RWOps->new_file( 'test/data/rwops', 'r' );
isa_ok( $file, 'SDL::RWOps', '[from_file] returns RWOps' );

#0 SEEK_SET
Expand All @@ -35,7 +31,6 @@ SKIP:
is( $blocks, 5, '[read] got ' . $char );
}
$file->close();
unlink '.rwops';
my @left = qw/
from_fp
from_mem
Expand Down
1 change: 1 addition & 0 deletions test/data/rwops
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rwops