Koha/t/Koha.t
Galen Charlton 93b882cdde use Test::More for t/Koha.t
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 09:15:36 -04:00

15 lines
260 B
Perl
Executable file

#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 2;
use_ok('C4::Koha');
#
# test that &slashifyDate returns correct (non-US) date
#
my $date = "01/01/2002";
my $newdate = &slashifyDate("2002-01-01");
ok($date eq $newdate, 'slashifyDate');