Skip to content

Commit b15866e

Browse files
committed
test: Reduce value of --total-width
1 parent d27d984 commit b15866e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/json.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fn json_input() {
107107
.with_current_dir(workspace.as_path())
108108
.with_arg("--json-input")
109109
.with_arg("--bytes-format=metric")
110-
.with_arg("--total-width=255")
110+
.with_arg("--total-width=100")
111111
.with_arg("--max-depth=10")
112112
.with_stdin(Stdio::piped())
113113
.with_stdout(Stdio::piped())
@@ -130,7 +130,7 @@ fn json_input() {
130130
data_tree: &sample_tree(),
131131
bytes_format: BytesFormat::MetricUnits,
132132
direction: Direction::BottomUp,
133-
column_width_distribution: ColumnWidthDistribution::total(255),
133+
column_width_distribution: ColumnWidthDistribution::total(100),
134134
max_depth: 10.try_into().unwrap(),
135135
};
136136
let expected = format!("{}", visualizer);
@@ -157,7 +157,7 @@ fn json_output_json_input() {
157157
.with_current_dir(workspace.as_path())
158158
.with_arg("--json-input")
159159
.with_arg("--bytes-format=metric")
160-
.with_arg("--total-width=255")
160+
.with_arg("--total-width=100")
161161
.with_arg("--max-depth=10")
162162
.with_stdin(
163163
json_output
@@ -174,7 +174,7 @@ fn json_output_json_input() {
174174
let expected = Command::new(PDU)
175175
.with_current_dir(workspace.as_path())
176176
.with_arg("--bytes-format=metric")
177-
.with_arg("--total-width=255")
177+
.with_arg("--total-width=100")
178178
.with_arg("--max-depth=10")
179179
.with_arg(workspace.as_path())
180180
.with_stdin(Stdio::piped())

0 commit comments

Comments
 (0)