Closed mihaicostin34 closed 6 months ago
You should not write to the output anything, but you seems to output two lines of text.
Running this in your code
$ ls /inexistent
panics with
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:167:77
This might be why the test fails. Please try the commands form the tests locally.
Although I redirect stderr and stdout using the same instructions (modifying only where needed), one passes the tests while the other doesn't. This is what the test result shows