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

Catch errors in the code inside the must check #105

Merged
merged 8 commits into from
Jan 28, 2023

Conversation

afuno
Copy link
Contributor

@afuno afuno commented Jan 9, 2023

To simplify the code inside the lambda by getting rid of methods such as .to_i.

@afuno afuno marked this pull request as ready for review January 9, 2023 16:52
Copy link
Owner

@sunny sunny left a comment

Choose a reason for hiding this comment

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

Good style! I’ve added two comments, let me know what you think.

lib/service_actor/checks/must_check.rb Outdated Show resolved Hide resolved
lib/service_actor/checks/must_check.rb Outdated Show resolved Hide resolved
@@ -0,0 +1,14 @@
# frozen_string_literal: true

class ExpectedFallInMustWhenTypeIsFirstAdvanced < Actor

Choose a reason for hiding this comment

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

Should this class be named ExpectedFailInMustWhenTypeIsFirstAdvanced?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done: 1b08616

Copy link
Owner

@sunny sunny left a comment

Choose a reason for hiding this comment

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

Can you also add an entry to the CHANGELOG, under unreleased ? 🙏🏻

@afuno
Copy link
Contributor Author

afuno commented Jan 27, 2023

Can you also add an entry to the CHANGELOG, under unreleased ? 🙏🏻

Done

@sunny sunny changed the title Catch errors in code for must Catch errors in the code inside the must check Jan 28, 2023
@sunny sunny merged commit 1084c1d into sunny:main Jan 28, 2023
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.

3 participants