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

addresses regression that prevents stubCall allowing non-function ret… #283

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

georgejecook
Copy link
Collaborator

…urn values

m.assertEqual(expectedKeyNameConfig2, resultKeyName)
end function

@ignore("this is not supported - we do not support mocking singleton objects between test runs")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
@ignore("this is not supported - we do not support mocking singleton objects between test runs")
@ignore("this is not supported - we do not support mocking singleton objects between test runs")

Comment on lines 1835 to 1837
if not type(stubOrReturnValue).endsWith("Function")
throw "Did not provide a stub function"
' throw "Did not provide a stub function"
end if
Copy link
Collaborator

Choose a reason for hiding this comment

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

we could just delete this now.

Copy link
Collaborator

@chrisdp chrisdp left a comment

Choose a reason for hiding this comment

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

approved with some basic feedback but nothing that would block it being merged in my view.

@georgejecook georgejecook merged commit 9b04568 into master Jun 15, 2024
2 of 8 checks passed
@georgejecook georgejecook deleted the fix-regression-in-stubcall branch June 15, 2024 16:44
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