You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_equal"\e[91;1mLeft \e[92;1mRight\e[0m\n\e[91;1m1 \e[0m\e[91m\"this is a super long diff to demonst\e[0m \e[92;1m1 \e[0m\e[92m\"this is a super long diff to demonst\e[0m\n\e[91;1m\e[2m. \e[0m\e[0m\e[91mrate that the labels get positioned \e[0m\e[91;1;4mi\e[0m \e[92;1m\e[2m. \e[0m\e[0m\e[92mrate that the labels get positioned \e[0m\e[92;1;4mc\e[0m\n\e[91;1m\e[2m. \e[0m\e[0m\e[91;1;4mncorrectly\e[0m\e[91m\"\e[0m \e[92;1m\e[2m. \e[0m\e[0m\e[92;1;4morrectly\e[0m\e[92m\"\e[0m",output
37
37
end
38
38
39
39
it"labels long line diff width=80"do
@@ -69,7 +69,7 @@ class LabelsTest < Minitest::Spec
69
69
"this is a super long diff to demonstrate that the labels get positioned correctly",
70
70
)
71
71
72
-
assert_equal"\e[91;1mLeft \e[92;1mRight\e[0m\n1 \"this is a super long diff to demonstrate that the labels get positioned incorrectly\" 1 \"this is a super long diff to demonstrate that the labels get positioned correctly\"",output
72
+
assert_equal"\e[91;1mLeft \e[92;1mRight\e[0m\n1 \"this is a super long diff to demonstrate that the labels get positioned incorrectly\" 1 \"this is a super long diff to demonstrate that the labels get positioned correctly\"",output
73
73
end
74
74
75
75
it"labels with no tab_width"do
@@ -78,6 +78,6 @@ class LabelsTest < Minitest::Spec
0 commit comments