From 957c0d3488de7bc25c8f257cdf4d003bf174bafd Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Mon, 18 Mar 2024 16:40:43 +0000 Subject: Side-step small SVG width divergence by setting min-width --- src/tools/compiletest/src/runtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 83c595ce241..c99600b8c31 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -4004,7 +4004,7 @@ impl<'test> TestCx<'test> { }; let stderr = if force_color_svg { - anstyle_svg::Term::new().render_svg(&proc_res.stderr) + anstyle_svg::Term::new().min_width_px(730).render_svg(&proc_res.stderr) } else if explicit_format { proc_res.stderr.clone() } else { -- cgit 1.4.1-3-g733a5