zeroclickinfo-goodies/t/LaserShip.t

27 lines
669 B
Perl

#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => 'lasership';
zci is_cached => 1;
ddg_goodie_test(
[qw( DDG::Goodie::LaserShip )],
'LL12345678' => test_zci(
"LL12345678",
heading => 'Lasership Shipment Tracking',
html => qq(Track this shipment at <a href="http://lasership.com/track/LL12345678">Lasership</a>.)
),
'LL 12345678' => test_zci(
"LL12345678",
heading => 'Lasership Shipment Tracking',
html => qq(Track this shipment at <a href="http://lasership.com/track/LL12345678">Lasership</a>.)
),
);
done_testing;