Andres

Results 34 comments of Andres

I know this is an old bug but I also just came across this surprising behavior. Given that `kill-whole-line` appends the new line into the kill-ring, then `sp-kill-whole-line` should have...

I took a cursory look at the [Go SDK](https://github.com/getsentry/sentry-go) and it looks like they don't clone the hub per goroutine. So the idea of having a hub per thread that...

I don't quite understand what you mean. Are you saying that if someone uses `faux` not as a `dev-dependency` but as a real dependency, and turns on that feature, and...

Ah, after reading your [comment](https://github.com/nrxus/faux/issues/4#issuecomment-579869805). It makes sense now. Unfortunate this is [not documented](https://github.com/rust-lang/cargo/issues/4328). I guess a feature for Sync/Send mocks is out then, that's going to be a bit...

Generics are now supported thanks to https://github.com/nrxus/faux/commit/9f1106f3e24d26734858f40fbd221df62fdea1ff

As part of solving #10 a decision was made to also include trait names in the name of the load bearing `mod` that causes the problem in this issue. This...

Fixed in: https://github.com/nrxus/faux/commit/f694453a097d9efde81943309813542877d1b2ee

I took a quick look at this and I would love to implement something that looks like: ```rust #[faux::create] trait MyTrait { /* some methods */ } #[test] fn test()...

The only workaround I can think of is not mocking this method, but mocking things that this method calls. ```rust #[faux::methods] impl MyStruct { // this can be mocked pub...

Would changing your signature to use generics rather than `impl` arguments be good enough? The former is significantly easier from a `faux`'s perspective but I am aware that it is...