remove unneeded shebangs
[gitmo/MooseX-Types-DateTime.git] / t / 01_basic.t
index f4a4626..3e10ffe 100644 (file)
@@ -1,5 +1,3 @@
-#!/usr/bin/perl
-
 use strict;
 use warnings;
 
@@ -109,7 +107,7 @@ isa_ok( find_type_constraint($_), "Moose::Meta::TypeConstraint" ) for qw(DateTim
 
     SKIP: {
         skip "No Locale::Maketext", 2 unless eval { require Locale::Maketext };
-        
+
         {
             package Some::L10N;
             our @ISA = qw(Locale::Maketext);
@@ -131,20 +129,20 @@ isa_ok( find_type_constraint($_), "Moose::Meta::TypeConstraint" ) for qw(DateTim
 }
 
 {
-       {
-               package Gondor;
-               
-               use Moose;
-               use MooseX::Types::DateTime qw(DateTime Duration);
-       
-               has 'date' => (is=>'rw', isa=>DateTime, coerce=>1);
-               has 'duration' => (is=>'rw', isa=>Duration, coerce=>1); 
-               
-       }
-       
-       my $epoch = time;
-       
-       ok my $gondor = Gondor->new(date=>$epoch, duration=>10)
-       => 'Instantiated object using export types';
-       
+    {
+        package Gondor;
+
+        use Moose;
+        use MooseX::Types::DateTime qw(DateTime Duration);
+
+        has 'date' => (is=>'rw', isa=>DateTime, coerce=>1);
+        has 'duration' => (is=>'rw', isa=>Duration, coerce=>1);
+
+    }
+
+    my $epoch = time;
+
+    ok my $gondor = Gondor->new(date=>$epoch, duration=>10)
+    => 'Instantiated object using export types';
+
 }