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

test: added unit tests plus minor refactoring #22

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

Alkaar
Copy link
Owner

@Alkaar Alkaar commented Aug 12, 2022

Added unit tests to my code unfortunately had to downgrade my scalaVersion back to 2.13. Will try again later if I move it back up to Scala 3. Also as an outcome of adding unit tests, had to refactor the code slightly mostly to return a Try instead of throwing exceptions since throwing is frowned upon in Scala.

  • Added unit tests
  • Refactored ResyApi to no longer throw exceptions
  • Minor improvements on the error messages
  • Other minor improvements

@Alkaar Alkaar self-assigned this Aug 12, 2022
@Alkaar Alkaar merged commit 1960f36 into master Aug 12, 2022
@Alkaar Alkaar deleted the test/add-unit-tests branch August 12, 2022 13:28
@github-actions
Copy link

🚀 PR was released in v1.0.0 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant