Skip to content

Commit 48bc5e2

Browse files
committed
add test for deleted file hunks. #109
1 parent 2a89ca8 commit 48bc5e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/header_clean.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,8 @@ output=$( load_fixture "file-moves" | $diff_so_fancy )
5050
assert_output --partial '@ setup-a-new-machine.sh:33 @'
5151
assert_output --partial '@ setup-a-new-machine.sh:219 @'
5252
}
53+
54+
@test "Reworked hunks (deleted files)" {
55+
output=$( load_fixture "dotfiles" | $diff_so_fancy )
56+
assert_output --partial '@ diff-so-fancy:3 @'
57+
}

0 commit comments

Comments
 (0)