Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #536 - Replace String padding by library call #699

Merged
merged 2 commits into from
Feb 25, 2021

Conversation

eribeiro
Copy link
Contributor

Replace String padding by library call and minor refactoring.

@dougwettlaufer
Copy link
Contributor

/gcbrun

assertThat(result).isEqualTo("000000");

result = (String) leftPadTo6.invoke(service, "00");
assertThat(result).isEqualTo("000000");
Copy link
Contributor

@dimas-b dimas-b Feb 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth keeping this test. Even though we use a lib to do the work, the fact that 0 is used for padding is something affected by our code... but of course we do not need as many test cases now.

@dimas-b
Copy link
Contributor

dimas-b commented Feb 22, 2021

/gcbrun

@dougwettlaufer dougwettlaufer merged commit d11fdad into stargate:master Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants