Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Update kr tests for accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Peble committed Apr 13, 2017
1 parent f54b1bd commit d93419c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ months:

tests: |
{Date.civil(2016,2,8) => "설날",
Date.civil(2017,2,9) => "설날 연휴",
Date.civil(2017,1,29) => "설날 연휴",
Date.civil(2016,5,14) => "석가탄신일",
Date.civil(2016,9,15) => "추석",
Date.civil(2016,1,1) => "신정",
Expand All @@ -84,7 +84,6 @@ tests: |
Date.civil(2016,10,3) => "개천절",
Date.civil(2016,10,9) => "한글날",
Date.civil(2016,12,25) => "크리스마스",
Date.civil(2017,1,27) => "설날 연휴",
Date.civil(2017,1,28) => "설날"
}.each do |date, name|
assert_equal name, (Holidays.on(date, :kr, :informal)[0] || {})[:name]
Expand Down

0 comments on commit d93419c

Please sign in to comment.