Skip to content

Commit 60a2666

Browse files
committed
test: Add default term width to tests
1 parent 93ce46e commit 60a2666

File tree

1 file changed

+1
-0
lines changed
  • crates/cargo-test-support/src

1 file changed

+1
-0
lines changed

crates/cargo-test-support/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,7 @@ pub trait TestEnvCommandExt: Sized {
14231423
.env("__CARGO_TEST_DISABLE_GLOBAL_KNOWN_HOST", "1")
14241424
// Set retry sleep to 1 millisecond.
14251425
.env("__CARGO_TEST_FIXED_RETRY_SLEEP_MS", "1")
1426+
.env("__CARGO_TEST_TTY_WIDTH_DO_NOT_USE_THIS", "140")
14261427
// Incremental generates a huge amount of data per test, which we
14271428
// don't particularly need. Tests that specifically need to check
14281429
// the incremental behavior should turn this back on.

0 commit comments

Comments
 (0)