Alan Somers

Results 656 comments of Alan Somers

Note that expectations are evaluated in LIFO order. So if you set an expectation in your setup code and another one in a test case, the latter will be evaluated...

Sorry; yes you're right it uses FIFO order. Have you considered just removing `.times` from your setup? In my own projects, the only methods I expect from the setup code...

Well, @MikeColeGuru the straightforward way to have a "default" expectation that is also overridden by a "special case" expectation is to use the matchers, and rely on FIFO ordering. For...

I disagree. `unsafe` doesn't mean "this could have bugs". It only means a few specific things, like "this could access invalid memory" or "this is prone to data races". Unless...

> Can't it cause this, in some environments? My knowledge of libstd is rusty at best, but I think that there are at least some global variables that can't be...

So what would be the safety advice to the user? "Don't use anything from the standard library?" I notice that some of the examples in the README do access the...

ping @csjayp @emaste could we please merge the linked PRs and also publish a new release?

ping @csjayp @emaste can we make the new release?

BTW, the maximum size of write that a filesystem will receive is given by the `max_write` field during `FUSE_INIT`. So it could be much less than 16M.