Input.t was replaced because it tested a now obsolete function. Input.pm has that function commented out. Several files were renamed to match their counterparts or correct misspellingz. Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
19 lines
324 B
Perl
Executable file
19 lines
324 B
Perl
Executable file
BEGIN { $| = 1; print "1..2\n"; }
|
|
END {print "not ok 1\n" unless $loaded;}
|
|
use C4::Koha;
|
|
$loaded = 1;
|
|
print "ok 1\n";
|
|
|
|
#
|
|
# test that &slashifyDate returns correct (non-US) date
|
|
#
|
|
$date = "01/01/2002";
|
|
$newdate = &slashifyDate("2002-01-01");
|
|
|
|
if ($date eq $newdate) {
|
|
print "ok 2\n";
|
|
} else {
|
|
print "not ok 2\n";
|
|
}
|
|
|
|
|