greglook / cljstyle

A tool for formatting Clojure code
Eclipse Public License 1.0
293 stars 39 forks source link

Do not skip defn- tokens #19

Closed kailashnath closed 4 years ago

kailashnath commented 4 years ago

The PR fixes issue: https://github.com/greglook/cljfmt/issues/17

Looks like cljfmt/format/fn.clj wasn't considering defn- tokens in totality which resulted in it skipping defn-.

codecov-io commented 4 years ago

Codecov Report

Merging #19 into develop will increase coverage by 0.13%. The diff coverage is 84.61%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #19      +/-   ##
===========================================
+ Coverage     70.8%   70.93%   +0.13%     
===========================================
  Files           10       10              
  Lines         1014     1022       +8     
  Branches        25       26       +1     
===========================================
+ Hits           718      725       +7     
  Misses         271      271              
- Partials        25       26       +1
Impacted Files Coverage Δ
core/src/cljfmt/format/fn.clj 92.18% <84.61%> (-0.67%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1be38ea...28eb3a5. Read the comment docs.