samit22 / calendarN

CLI tool to generate Nepali calendar with today's details, supports both Nepali and English calendars.
MIT License
6 stars 3 forks source link

Added test for cmd #19

Closed samit22 closed 2 years ago

samit22 commented 2 years ago

Add unit test for cmd package For issue #18

codecov-commenter commented 2 years ago

Codecov Report

Merging #19 (cf61dc3) into main (955aae7) will increase coverage by 35.57%. The diff coverage is 97.43%.

@@             Coverage Diff             @@
##             main      #19       +/-   ##
===========================================
+ Coverage   53.44%   89.01%   +35.57%     
===========================================
  Files          12       12               
  Lines         494      537       +43     
===========================================
+ Hits          264      478      +214     
+ Misses        222       50      -172     
- Partials        8        9        +1     
Impacted Files Coverage Δ
cmd/const.go 0.00% <ø> (ø)
cmd/englishcal.go 96.42% <97.29%> (+93.25%) :arrow_up:
cmd/nepcal.go 93.68% <97.43%> (+90.98%) :arrow_up:
cmd/today.go 92.59% <100.00%> (+88.81%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.