Closed arthurxavierx closed 2 years ago
@arthurxavierx Don't forget to bump version like this and make a release.
@boygao1992 Do you know why the CircleCI build hasn't finished yet?
Hmm I don't see this PR on the job list.
Weird, I just opened a new branch and the CI is triggered.
Maybe try pushing to a different branch?
@arthurxavierx I just did that for you creating a new branch arthur/negative-cents-2
and the CI is running. Is it possible to switch this PR to that branch? If not, probably have to open a new PR.
@boygao1992 Oh it seems like the original branch got built and already merged for some reason 😶 Thank you!
Nvm, since both branches are on the same commit. That CI passing triggered the auto merge.
No problem!
What does this pull request do?
The
Ocelot.Data.Currency.formatCentsToStrDollars
andOcelot.Data.Currency.parseCentsFromDollarStr
did not work with negativeCents
values. We fix that by changing their definitions and adding test cases to cover the intended behavior.Where should the reviewer start?
Commit-by-commit.
How should this be manually tested?
There's no need for manual testing; the automated tests should be enough.