Having a simple script here:
Since it is hard to simulate a failing env::current_dir()
I'm wondering what the result of the entire function would be, in case it really fails. This in mind: Is there a way to willingly make such functions fail (for tests?)