wakatime / wakatime-cli

Command line interface used by all WakaTime text editor plugins
https://wakatime.com/plugins
BSD 3-Clause "New" or "Revised" License
265 stars 41 forks source link

Add missing tests for guess-language #965

Closed gandarez closed 9 months ago

gandarez commented 9 months ago

This PR adds missing unit tests for guessing language.

codecov[bot] commented 9 months ago

Codecov Report

Merging #965 (30fae3f) into develop (7c2b2e1) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #965      +/-   ##
===========================================
+ Coverage    62.36%   62.38%   +0.01%     
===========================================
  Files          372      372              
  Lines        15660    15660              
===========================================
+ Hits          9767     9770       +3     
+ Misses        5366     5364       -2     
+ Partials       527      526       -1     
Flag Coverage Δ
unittests 62.38% <100.00%> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
cmd/params/params.go 85.94% <100.00%> (ø)

... and 1 file with indirect coverage changes