Skip to content

InlineFlowTest: Allow for custom getArgString #15090

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

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Dec 13, 2023

When not using DefaultFlowTest, it is useful to be able to implement a custom getArtString predicate.

@hvitved hvitved added the no-change-note-required This PR does not need a change note label Dec 13, 2023
@hvitved hvitved marked this pull request as ready for review December 13, 2023 13:16
@hvitved hvitved requested a review from a team as a code owner December 13, 2023 13:16
@hvitved hvitved requested a review from jketema December 13, 2023 13:16
jketema
jketema previously approved these changes Dec 13, 2023
Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

Do we need to check that this doesn't break any tests for other languages?

Otherwise, LGTM.

@hvitved
Copy link
Contributor Author

hvitved commented Dec 14, 2023

Do we need to check that this doesn't break any tests for other languages?

I have done that now, pushing a dummy "trigger CI" commit, and it worked fine. I'll revert the trigger commit again.

MathiasVP
MathiasVP previously approved these changes Dec 14, 2023
yoff
yoff previously approved these changes Dec 14, 2023
Copy link
Contributor

@yoff yoff left a comment

Choose a reason for hiding this comment

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

Python 👍

I made two suggestions. They make the diff a little larger, but I think they express the intent better. If at some point ValueFlowTest should be updated to no longer use NoFlowConfig, it can be done in one central place. This is an imaginary example, though, and I do not know how likely such changes are, so I will approve even without it.

Co-authored-by: yoff <lerchedahl@gmail.com>
@hvitved hvitved dismissed stale reviews from yoff and MathiasVP via 8fc6fb1 December 14, 2023 09:10
@hvitved hvitved merged commit 8f0e0b6 into github:main Dec 14, 2023
@hvitved hvitved deleted the inline-flow-test-get-arg-string branch December 14, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DataFlow Library no-change-note-required This PR does not need a change note Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants