gosh-lang / gosh

Gosh is an interpreted language for Go ecosystem written in Go
https://gosh-lang.org
Mozilla Public License 2.0
62 stars 8 forks source link

Problem: interpteret evalPrefixExpression is untested #26

Closed quasilyte closed 6 years ago

quasilyte commented 6 years ago

Solution: add TestPrefixExpression that covers evalPrefixExpression.

Increases test coverage.

Updates #25 Signed-off-by: Iskander Sharipov quasilyte@gmail.com

codecov[bot] commented 6 years ago

Codecov Report

Merging #26 into master will increase coverage by 1.49%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   75.94%   77.44%   +1.49%     
==========================================
  Files           4        4              
  Lines        1002     1002              
==========================================
+ Hits          761      776      +15     
+ Misses        209      194      -15     
  Partials       32       32
Impacted Files Coverage Δ
interpreter/interpreter.go 73.27% <0%> (+6.46%) :arrow_up:

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 de72af0...a83ab01. Read the comment docs.