Skip to content

Commit

Permalink
add test for deleted file hunks. #109
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Mar 6, 2016
1 parent 2a89ca8 commit 48bc5e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/header_clean.bats
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ output=$( load_fixture "file-moves" | $diff_so_fancy )
assert_output --partial '@ setup-a-new-machine.sh:33 @'
assert_output --partial '@ setup-a-new-machine.sh:219 @'
}

@test "Reworked hunks (deleted files)" {
output=$( load_fixture "dotfiles" | $diff_so_fancy )
assert_output --partial '@ diff-so-fancy:3 @'
}

0 comments on commit 48bc5e2

Please sign in to comment.