-
Notifications
You must be signed in to change notification settings - Fork 6
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
BufferRedirect is broken in unit tests #5
Comments
What operating system? This works for me on Linux. |
Yeah, on linux.
After some experimenting I figured out that it works if put into a |
Ah. So, rust uses a super-special |
(at least I think that's what's happening here) |
Actually... I'm not sure. |
Any news regarding this? :( |
Unfortunately, no. Any help debugging would be appreciated.
|
As far as I could figure out this is because by default, |
You can run tests in sequence with Personally I don't like that rusts unit tests mess with |
This example from the readme fails when put into a unit test:
output
is empty whenassert_eq
is executed.rustc --version
isrustc 1.33.0 (2aa4c46cf 2019-02-28)
.The text was updated successfully, but these errors were encountered: