This repository was archived by the owner on Dec 29, 2021. It is now read-only.
This repository was archived by the owner on Dec 29, 2021. It is now read-only.
Pick one: Error location or error context #30
Closed
Description
In updating cobalt.rs to 0.4, I found that with the new API, I could either do .unwrap()
which shows why it fails but shows the error location as within assert_cli
(setting traceback would probably help) or to .execute(); assert!(result.is_ok());
which will get me the error location but lose the information on why it failed.
See https://github.com/cobalt-org/cobalt.rs/blob/master/tests/cli.rs