From 20a2bba8a4431aa6bb7414fed08972ed8d206e14 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 23 Apr 2008 03:26:44 +0000 Subject: [PATCH] Let 0 be a valid tax rate in the tests. --- t/Shop/Tax.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Shop/Tax.t b/t/Shop/Tax.t index 7f1ec6d61..b97fdedc1 100644 --- a/t/Shop/Tax.t +++ b/t/Shop/Tax.t @@ -623,7 +623,7 @@ SKIP: { state=>ignore, city=>ignore, code=>ignore, - taxRate=>re('^\d+\.\d+$') + taxRate=>re('^\d+(\.\d+)?$') }), }, 'Check major elements of tax JSON',