File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ teardown_file() {
51
51
run printf " %s" " $output "
52
52
53
53
assert_line --index 1 --partial " renamed:"
54
- assert_line --index 3 --partial " @ language/app.py:4 @"
54
+ assert_line --index 3 --partial " @ language/app.py:1 @"
55
55
assert_line --index 19 --partial " renamed:"
56
56
assert_line --index 21 --partial " @ language/__init__.py:1 @"
57
57
assert_line --index 25 --partial " renamed:"
@@ -63,7 +63,7 @@ teardown_file() {
63
63
run printf " %s" " $output "
64
64
65
65
assert_line --index 1 --partial " renamed:"
66
- assert_line --index 3 --partial " @ language/app.py:4 @"
66
+ assert_line --index 3 --partial " @ language/app.py:1 @"
67
67
assert_line --index 19 --partial " renamed:"
68
68
assert_line --index 21 --partial " @ language/__init__.py:1 @"
69
69
assert_line --index 25 --partial " renamed:"
Original file line number Diff line number Diff line change @@ -187,8 +187,10 @@ teardown_file() {
187
187
188
188
@test " Reworked hunks" {
189
189
output=$( load_fixture " file-moves" | $diff_so_fancy )
190
- assert_output --partial ' @ square.yml:4 @'
191
- assert_output --partial ' @ package.json:1 @'
190
+ run printf " %s" " $output "
191
+
192
+ assert_line --index 46 --partial " @ package.json:1 @"
193
+ assert_line --index 79 --partial " @ square.yml:1 @"
192
194
}
193
195
194
196
@test " Reworked hunks (noprefix)" {
You can’t perform that action at this time.
0 commit comments