Skip to content

Commit 7b20234

Browse files
committed
test+refactor: Use function total
1 parent d4b1d2e commit 7b20234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/json.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 { width: 255 },
133+
column_width_distribution: ColumnWidthDistribution::total(255),
134134
max_depth: 10.try_into().unwrap(),
135135
};
136136
let expected = format!("{}", visualizer);

0 commit comments

Comments
 (0)