Nicholas Koh

Results 43 comments of Nicholas Koh

Combined into https://github.com/freerange/mocha/pull/554

@floehopper, happy to help! Would I commit directly to that PR? Our branch off and we merge to that PR?

Ok, I've setup circleci and cherry-picked your commits onto this branch, will find some time this week to continue!

Superseded by https://github.com/freerange/mocha/pull/544

I'm going to try to go further with this spike to check some of my assumptions. In particular, I realise that with strict matching of keyword arguments, we might not...

I went back to passing `ruby2_keywords` down the chain and checking for that in a `ParametersMatchers::Hash`. I think this will be easier to: - support a configuration for turning on...

I'm having trouble matching keyword arguments precisely in Ruby 3. EDIT: removed the original example in favour of https://github.com/freerange/mocha/issues/446#issuecomment-1006680273, which I think explains this better. I don't think https://github.com/freerange/mocha/pull/475 will...

> the main issue is that the stubbed version of Example#foo doesn't behave the same way as the real version of the method, because the stubbed version does not raise...

@floehopper wondering if you've any thoughts on how to address this? Would love to help where possible. Thought: we could replace `*args` with the `*args, **kwargs` syntax, and add some...

Thanks @floehopper! I took a look, but I don't think the issue would be fully addressed. The particular concern I have is that keyword matching is imprecise and may cause...