Fixed typo, HIDE_GRIDLINES instead of HIDE_GRIDLINE
[p5sagit/Excel-Template.git] / t / 001_load.t
index 86fd2f1..0f8bd95 100644 (file)
@@ -1,12 +1,12 @@
-# -*- perl -*-
-
-# t/001_load.t - check module loading and create testing directory
+use strict;
 
 use Test::More tests => 2;
 
-BEGIN { use_ok( 'Excel::Template' ); }
+my $CLASS = 'Excel::Template';
+
+use_ok( $CLASS );
 
-my $object = Excel::Template->new ();
-isa_ok ($object, 'Excel::Template');
+my $object = $CLASS->new ();
+isa_ok( $object, $CLASS );