File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ commit fbf440dd9c32a60f9bc97693a6bd7b5ca87ec9fc
2+ Author: Steve Mao <
[email protected] >
3+ Date: Wed Mar 9 19:21:27 2016 +1100
4+
5+ 0.6.2
6+
7+ diff --git package.json package.json
8+ index 7379c98..3cba6ee 100644
9+ --- package.json
10+ +++ package.json
11+ @@ -1,6 +1,6 @@
12+ {
13+ "name": "diff-so-fancy",
14+ - "version": "0.6.1",
15+ + "version": "0.6.2",
16+ "description": "Good-lookin' diffs with diff-highlight and more",
17+ "bin": {
18+ "diff-so-fancy": "diff-so-fancy",
Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ output=$( load_fixture "file-moves" | $diff_so_fancy )
6363 refute_output --partial ' Use of uninitialized value'
6464}
6565
66+ @test " Hunk formatting: @@ -1,6 +1,6 @@" {
67+ # stderr forced into output
68+ output=$( load_fixture " first-three-line" | $diff_so_fancy )
69+ assert_output --partial ' @ package.json:3 @'
70+ }
71+
6672@test " mnemonicprefix handling" {
6773 output=$( load_fixture " mnemonicprefix" | $diff_so_fancy )
6874 assert_output --partial ' modified: test/header_clean.bats'
You can’t perform that action at this time.
0 commit comments