File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -529,35 +529,35 @@ cmp_deeply(
529
529
' importTaxData: error handling for file that does not exist in the filesystem' ,
530
530
);
531
531
532
- cmp_deeply (
532
+ cmp_bag (
533
533
$taxer -> getTaxRates($taxingAddress ),
534
534
[0, 5, 0.5],
535
535
' getTaxRates: return correct data for a state with tax data'
536
- );
536
+ ) or diag Dumper $taxer -> getTaxRates( $taxingAddress ) ;
537
537
538
- cmp_deeply (
538
+ cmp_bag (
539
539
$taxer -> getTaxRates($taxFreeAddress ),
540
540
[0,0],
541
541
' getTaxRates: return correct data for a state with no tax data'
542
- );
542
+ ) or diag Dumper $taxer -> getTaxRates( $taxFreeAddress ) ;
543
543
544
- cmp_deeply (
544
+ cmp_bag (
545
545
$taxer -> getTaxRates($alternateAddress ),
546
546
[0.0, 8.25], # Hits USA and Los Angeles, California using the alternate spelling of the state
547
547
' getTaxRates: return correct data for a state when the address has alternations'
548
- );
548
+ ) or diag Dumper $taxer -> getTaxRates( $alternateAddress ) ;
549
549
550
550
my $capitalized = $taxer -> add({
551
551
country => ' USA' ,
552
552
state => ' wi' ,
553
553
taxRate => ' 50' ,
554
554
});
555
555
556
- cmp_deeply (
556
+ cmp_bag (
557
557
$taxer -> getTaxRates($taxingAddress ),
558
558
[0, 5, 0.5],
559
559
' ... multiple entries with different capitalization, first matches'
560
- );
560
+ ) or diag Dumper $taxer -> getTaxRates( $taxingAddress ) ;
561
561
562
562
$taxer -> delete ({ taxId => $capitalized });
563
563
You can’t perform that action at this time.
0 commit comments