Skip to content

Commit

Permalink
Test for reworked hunks on 'noprefix'
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Baker committed Mar 4, 2016
1 parent 7fa6a87 commit b2fe4a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/header_clean.bats
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ output=$( load_fixture "file-moves" | $diff_so_fancy )
assert_output --partial '@ square.yml:3 @'
assert_output --partial '@ package.json:4 @'
}

@test "Reworked hunks (noprefix)" {
output=$( load_fixture "noprefix" | $diff_so_fancy )
assert_output --partial '@ setup-a-new-machine.sh:33 @'
assert_output --partial '@ setup-a-new-machine.sh:218 @'
}

0 comments on commit b2fe4a6

Please sign in to comment.