Skip to content

Commit

Permalink
fix typo, add test
Browse files Browse the repository at this point in the history
  • Loading branch information
freyfogle committed May 13, 2024
1 parent 6f30f2b commit d06f1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Data/MoneyCurrency.pm
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ my $rh_currencies_for_country = {
ye => ['yer'],
yt => ['eur'],
za => ['zar'],
zm => ['zmk']
zm => ['zmk'],
zw => ['zig']
};

Expand Down
1 change: 1 addition & 0 deletions t/get_currencies_for_country.t
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ is_deeply(get_currencies_for_country('cu'), ['cuc', 'cup'], 'Test Cuba');
is_deeply(get_currencies_for_country('lt'), ['eur'], 'Test Lithuania');
is_deeply(get_currencies_for_country('hr'), ['eur'], 'Test Croatia');
is_deeply(get_currencies_for_country('xk'), ['eur'], 'Test Kosovo');
is_deeply(get_currencies_for_country('zw'), ['zig'], 'Test ZW');
is_deeply(get_currencies_for_country('sv'), ['usd', 'btc'], 'Test SV');

throws_ok {
Expand Down

0 comments on commit d06f1a7

Please sign in to comment.