Skip to content

Commit

Permalink
applied kthakores patch: moving Findin to BEGIN block
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Leich committed Mar 1, 2011
1 parent 68e28d5 commit 30c9a64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion t/sdlx_text.t
Expand Up @@ -5,6 +5,7 @@ use SDL::Color;
use SDL::Surface;
use SDLx::App;
BEGIN {
use FindBin;
use Test::More;
use lib 't/lib';
use SDL::TestTool;
Expand All @@ -19,7 +20,6 @@ use_ok( 'SDLx::Text' );
my $videodriver = $ENV{SDL_VIDEODRIVER};
$ENV{SDL_VIDEODRIVER} = 'dummy' unless $ENV{SDL_RELEASE_TESTING};

use FindBin;
use File::Spec;
my $score = SDLx::Text->new(
font => File::Spec->catfile($FindBin::Bin, '..', 'share', 'GenBasR.ttf')
Expand Down
2 changes: 1 addition & 1 deletion t/ttf.t
Expand Up @@ -10,6 +10,7 @@ use SDL::Video;
use SDL::PixelFormat;

BEGIN {
use FindBin;
use Test::More;
use lib 't/lib';
use SDL::TestTool;
Expand All @@ -25,7 +26,6 @@ use SDL::RWOps;
use SDL::Version;
use Encode;

use FindBin;
use File::Spec;
my $font_filename = File::Spec->catfile(
$FindBin::Bin, '..', 'share', 'GenBasR.ttf'
Expand Down

0 comments on commit 30c9a64

Please sign in to comment.