diegoholiveira / jsonlogic

Go Lang implementation of JsonLogic
MIT License
159 stars 48 forks source link

Fixed subtraction from zero #62

Closed Rymmugygr closed 1 year ago

Rymmugygr commented 1 year ago

Subtraction from 0 was leading to wrong result, namely, positive value instead of negative one

codecov[bot] commented 1 year ago

Codecov Report

Merging #62 (75e1964) into master (5c939b3) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #62   +/-   ##
=======================================
  Coverage   95.82%   95.82%           
=======================================
  Files           9        9           
  Lines         957      959    +2     
=======================================
+ Hits          917      919    +2     
  Misses         28       28           
  Partials       12       12