File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,11 @@ if begin[m"
99
99
@test " Empty file add" {
100
100
output=$( load_fixture " add_empty_file" | $diff_so_fancy )
101
101
run printf " %s" " $output "
102
- assert_line --index 5 --partial " added: empty_file.txt"
102
+ assert_line --index 5 --regexp " added:.* empty_file.txt"
103
103
}
104
104
105
105
@test " Empty file delete" {
106
106
output=$( load_fixture " remove_empty_file" | $diff_so_fancy )
107
107
run printf " %s" " $output "
108
- assert_line --index 5 --partial " deleted: empty_file.txt"
108
+ assert_line --index 5 --regexp " deleted:.* empty_file.txt"
109
109
}
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ output=$( load_fixture "file-moves" | $diff_so_fancy )
16
16
}
17
17
18
18
@test " header_clean 'added:'" {
19
- assert_output --partial ' added: hello.txt'
19
+ assert_output --regexp ' added:.* hello.txt'
20
20
}
21
21
22
22
@test " header_clean 'modified:'" {
23
23
assert_output --partial ' modified: appveyor.yml'
24
24
}
25
25
26
26
@test " header_clean 'deleted:'" {
27
- assert_output --partial ' deleted: circle.yml'
27
+ assert_output --regexp ' deleted:.* circle.yml'
28
28
}
29
29
30
30
@test " header_clean permission changes" {
You can’t perform that action at this time.
0 commit comments