jaswdr / faker

:rocket: Ultimate fake data generator for Go with zero dependencies
https://pkg.go.dev/github.com/jaswdr/faker
MIT License
549 stars 59 forks source link

Fixing Currency test and add ExpectInInt and ExpectInString test helpers #98

Closed jaswdr closed 2 years ago

jaswdr commented 2 years ago

Description

Fixing currency.go tests.

Are you trying to fix an existing issue?

No.

Go Version

$ go version
go version go1.18.2 linux/amd64

Go Tests

$ go test
ok      github.com/jaswdr/faker 1.194s
codecov[bot] commented 2 years ago

Codecov Report

Merging #98 (3f2058d) into master (fa03b4e) will increase coverage by 1.10%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   95.48%   96.58%   +1.10%     
==========================================
  Files          36       36              
  Lines        1085     1085              
==========================================
+ Hits         1036     1048      +12     
+ Misses         41       30      -11     
+ Partials        8        7       -1     
Impacted Files Coverage Δ
faker.go 90.90% <0.00%> (+1.58%) :arrow_up:
crypto.go 96.15% <0.00%> (+1.92%) :arrow_up:
internet.go 96.46% <0.00%> (+3.53%) :arrow_up:
person.go 96.29% <0.00%> (+5.55%) :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 fa03b4e...3f2058d. Read the comment docs.