From 7f7fb50a436b261ad1c313f1700fda7fcb06fb1d Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Mon, 15 Dec 2025 18:06:47 -0800 Subject: [PATCH] update expected output for graph display test --- .../src/types/constraints.rs | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/crates/ty_python_semantic/src/types/constraints.rs b/crates/ty_python_semantic/src/types/constraints.rs index 8382168dba..d60353d67e 100644 --- a/crates/ty_python_semantic/src/types/constraints.rs +++ b/crates/ty_python_semantic/src/types/constraints.rs @@ -3992,28 +3992,28 @@ mod tests { #[test] fn test_display_graph_output() { let expected = indoc! {r#" - (T = str) 3/4 - ┡━₁ (T = bool) 4/4 - │ ┡━₁ (U = str) 1/2 - │ │ ┡━₁ (U = bool) 2/2 + (T = str) Explicit 3/4 + ┡━₁ (T = bool) Explicit 4/4 + │ ┡━₁ (U = str) Explicit 1/2 + │ │ ┡━₁ (U = bool) Explicit 2/2 │ │ │ ┡━₁ always │ │ │ └─₀ always - │ │ └─₀ (U = bool) 2/2 + │ │ └─₀ (U = bool) Explicit 2/2 │ │ ┡━₁ always │ │ └─₀ never - │ └─₀ (U = str) 1/2 - │ ┡━₁ (U = bool) 2/2 + │ └─₀ (U = str) Explicit 1/2 + │ ┡━₁ (U = bool) Explicit 2/2 │ │ ┡━₁ always │ │ └─₀ always - │ └─₀ (U = bool) 2/2 + │ └─₀ (U = bool) Explicit 2/2 │ ┡━₁ always │ └─₀ never - └─₀ (T = bool) 4/4 - ┡━₁ (U = str) 1/2 - │ ┡━₁ (U = bool) 2/2 + └─₀ (T = bool) Explicit 4/4 + ┡━₁ (U = str) Explicit 1/2 + │ ┡━₁ (U = bool) Explicit 2/2 │ │ ┡━₁ always │ │ └─₀ always - │ └─₀ (U = bool) 2/2 + │ └─₀ (U = bool) Explicit 2/2 │ ┡━₁ always │ └─₀ never └─₀ never