VIN plugin now links to Decode This.
parent
c9b1b36aa4
commit
fbd5013a6f
|
@ -136,8 +136,9 @@ handle query_nowhitespace_nodash => sub {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
if ($is_vin) {
|
||||
return $vin_number, heading => "CarFax", html => qq(Check the automobile's VIN at <a href='http://www.carfax.com/cfm/check_order.cfm?VIN=$vin_number&PopUpStatus=0'>CarFax</a>.);
|
||||
return $vin_number, heading => "Vehicle Identification Number", html => qq(Check the automobile's VIN at <a href='http://www.decodethis.com/VIN-Decoded/vin/$vin_number'>Decode This</a>.);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
16
t/VIN.t
16
t/VIN.t
|
@ -12,23 +12,23 @@ ddg_goodie_test(
|
|||
[qw( DDG::Goodie::VIN )],
|
||||
'1g8gg35m1g7123101' => test_zci(
|
||||
"1G8GG35M1G7123101",
|
||||
heading => 'CarFax',
|
||||
html => "Check the automobile's VIN at <a href='http://www.carfax.com/cfm/check_order.cfm?VIN=1G8GG35M1G7123101&PopUpStatus=0'>CarFax</a>."
|
||||
heading => 'Vehicle Identification Number',
|
||||
html => "Check the automobile's VIN at <a href='http://www.decodethis.com/VIN-Decoded/vin/1G8GG35M1G7123101'>Decode This</a>."
|
||||
),
|
||||
'vin 1g8gg35m1g7123101' => test_zci(
|
||||
"1G8GG35M1G7123101",
|
||||
heading => 'CarFax',
|
||||
html => "Check the automobile's VIN at <a href='http://www.carfax.com/cfm/check_order.cfm?VIN=1G8GG35M1G7123101&PopUpStatus=0'>CarFax</a>."
|
||||
heading => 'Vehicle Identification Number',
|
||||
html => "Check the automobile's VIN at <a href='http://www.decodethis.com/VIN-Decoded/vin/1G8GG35M1G7123101'>Decode This</a>."
|
||||
),
|
||||
'1g8gg35m1g7123101 vehicle identification number' => test_zci(
|
||||
"1G8GG35M1G7123101",
|
||||
heading => 'CarFax',
|
||||
html => "Check the automobile's VIN at <a href='http://www.carfax.com/cfm/check_order.cfm?VIN=1G8GG35M1G7123101&PopUpStatus=0'>CarFax</a>."
|
||||
heading => 'Vehicle Identification Number',
|
||||
html => "Check the automobile's VIN at <a href='http://www.decodethis.com/VIN-Decoded/vin/1G8GG35M1G7123101'>Decode This</a>."
|
||||
),
|
||||
'1g8gg35m1g7123101 tracking' => test_zci(
|
||||
"1G8GG35M1G7123101",
|
||||
heading => 'CarFax',
|
||||
html => "Check the automobile's VIN at <a href='http://www.carfax.com/cfm/check_order.cfm?VIN=1G8GG35M1G7123101&PopUpStatus=0'>CarFax</a>."
|
||||
heading => 'Vehicle Identification Number',
|
||||
html => "Check the automobile's VIN at <a href='http://www.decodethis.com/VIN-Decoded/vin/1G8GG35M1G7123101'>Decode This</a>."
|
||||
),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue