mirror of
https://github.com/ducaale/xh.git
synced 2025-05-05 15:32:50 +00:00
Set RUST_BACKTRACE=0 in feature tests
If RUST_BACKTRACE=1 was set outside the test runner, e.g. `RUST_BACKTRACE=1 cargo test`, this propagated to the test binary and changed error outputs. Interestingly this only affected `nested_json_type_error`. Resolves #406.
This commit is contained in:
parent
21e998e5b2
commit
eeff9c17d4
@ -92,6 +92,7 @@ fn get_base_command() -> Command {
|
||||
cmd.env("XH_CONFIG_DIR", "");
|
||||
#[cfg(target_os = "windows")]
|
||||
cmd.env("XH_TEST_MODE_WIN_HOME_DIR", "");
|
||||
cmd.env("RUST_BACKTRACE", "0");
|
||||
cmd
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user