Skip to content

Commit b2fe4a6

Browse files
author
Scott Baker
committed
Test for reworked hunks on 'noprefix'
1 parent 7fa6a87 commit b2fe4a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/header_clean.bats

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,9 @@ output=$( load_fixture "file-moves" | $diff_so_fancy )
4444
assert_output --partial '@ square.yml:3 @'
4545
assert_output --partial '@ package.json:4 @'
4646
}
47+
48+
@test "Reworked hunks (noprefix)" {
49+
output=$( load_fixture "noprefix" | $diff_so_fancy )
50+
assert_output --partial '@ setup-a-new-machine.sh:33 @'
51+
assert_output --partial '@ setup-a-new-machine.sh:218 @'
52+
}

0 commit comments

Comments
 (0)