We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 006ede3 commit 32f5c1dCopy full SHA for 32f5c1d
test/bugs.bats
@@ -75,3 +75,9 @@ teardown_file() {
75
run printf "%s" "$output"
76
assert_line --index 3 --partial "@[0m[93m height"
77
}
78
+
79
+@test "ANSI reset without leading zero (#469)" {
80
+ output=$( load_fixture "ansi_reset_without_zero" | $diff_so_fancy )
81
+ run printf "%s" "$output"
82
+ assert_line --index 4 --partial 'Hello'
83
+}
test/fixtures/ansi_reset_without_zero.diff
@@ -0,0 +1,5 @@
1
+--- /tmp/baker/one.txt 2023-06-08 14:48:26.883146532 -0700
2
++++ /tmp/baker/two.txt 2023-06-08 14:48:35.080137160 -0700
3
+@@ -1 +1 @@
4
+-Hello world
5
++Hello Jason
0 commit comments