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

filter_parser: reorganize tests for abnormal cases #4638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daipom
Copy link
Contributor

@daipom daipom commented Sep 16, 2024

Which issue(s) this PR fixes:
None.

What this PR does / why we need it:
Adds and reorganizes tests of filter_parser for abnormal cases.

The following PR will significantly change the implementation of filter_parser.

However, currently, there aren't enough tests for abnormal cases.
This condition makes it difficult to safely make such a large change.
This PR solves the problem.

Docs Changes:
Not needed.

Release Note:
Same as the title.
(Or not needed because this changes only the test codes.)

@daipom
Copy link
Contributor Author

daipom commented Sep 17, 2024

Ruby 2.7 tests fail because Ruby 2.7 does not support Hash#except.
I'm fixing it.

@daipom daipom force-pushed the filter_parser-reorganize-tests-for-abnormal-cases branch from 04bf979 to 9b88e43 Compare September 17, 2024 12:29
@daipom daipom force-pushed the filter_parser-reorganize-tests-for-abnormal-cases branch from 9b88e43 to 203f416 Compare September 18, 2024 02:42
Copy link
Contributor

@Watson1978 Watson1978 left a comment

Choose a reason for hiding this comment

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

Looks good to me :)

@daipom
Copy link
Contributor Author

daipom commented Sep 20, 2024

@kenhys Could you please review this?

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.

2 participants