Francis Galiegue
Francis Galiegue
I was thinking about functions not meaning to return any value :) Java's mockito has that shortcut for functions returning `void` although the syntax is not exactly the same (`doNothing().when(etc...
> Oh, didn't realize that `thenReturn()` or `thenAnswer()` without any args also works. That's not what I meant; I meant to just omit`.thenReturn()`/`.thenAnswer()` as you wrote -- but it is...
Ohwell, I don't think it would be of any use really, now that I know the trick of not specifying `.then*()`. Also, I'm too much influenced by Java... One thing...
OK, I thought I had closed this issue... Anyway, as said in my previous comment, no need for that after all
Well, I am on the Python discord and I've been asked this question about this code (`values` is a `deque` here -- I use Python 3.11 if that can help):...
@KyleRogers > JUnit 3 Uh, this is 2014... @hcoles, do you actually claim support for such a prehistoric artifact?
@iainbeeston > I've double checked the ietf spec and it's explicitly for validating json objects, not just arbitrary data Are you talking about the JSON Schema spec? It does not...
Sorry to chime in, but do I understand there that "Ruby JSON" expects JSON Texts as defined by RFC 4627? If yes, why not use an alternate JSON parsing library...
@iainbeeston OK, I'll chime in again but something seems a bit off here; decomposing the flow, you have: - a byte stream, which may be reading from a file on...
@iainbeeston it makes sense and yes, I have trouble with this particular part: > the default that has evolved is to parse json text, not just json values It was...