@@ -20,8 +20,8 @@ it_renders_diff() {
20
20
test/images/flag.png a190ba 100644 \
21
21
test/images/gooder-flag.png 000000 100644)
22
22
23
- grep -F " OLD: flag.png (84 KB)" < " $output_file "
24
- grep -F " NEW: gooder-flag.png (9 KB)" < " $output_file "
23
+ grep -F " OLD: test/images/ flag.png (84 KB)" < " $output_file "
24
+ grep -F " NEW: test/images/ gooder-flag.png (9 KB)" < " $output_file "
25
25
26
26
rm " $output_file "
27
27
}
@@ -32,8 +32,8 @@ it_works_with_output_filenames_containing_spaces() {
32
32
" test/images/flag.png" a190ba 100644 \
33
33
" test/images/with spaces.png" 000000 100644)
34
34
35
- grep -F ' OLD: flag.png (84 KB)' < " $output_file "
36
- grep -F ' NEW: with spaces.png (9 KB)' < " $output_file "
35
+ grep -F ' OLD: test/images/ flag.png (84 KB)' < " $output_file "
36
+ grep -F ' NEW: test/images/ with spaces.png (9 KB)' < " $output_file "
37
37
38
38
rm " $output_file "
39
39
}
@@ -44,8 +44,8 @@ it_works_with_input_filenames_containing_spaces() {
44
44
" test/images/with spaces.png" a190ba 100644 \
45
45
" test/images/flag.png" 000000 100644)
46
46
47
- grep -F ' OLD: with spaces.png (9 KB)' < " $output_file "
48
- grep -F ' NEW: flag.png (84 KB)' < " $output_file "
47
+ grep -F ' OLD: test/images/ with spaces.png (9 KB)' < " $output_file "
48
+ grep -F ' NEW: test/images/ flag.png (84 KB)' < " $output_file "
49
49
50
50
rm " $output_file "
51
51
}
@@ -56,8 +56,8 @@ it_works_with_small_files() {
56
56
" test/images/gooder-flag.png" a190ba 100644 \
57
57
" test/images/small-image.png" 000000 100644)
58
58
59
- grep -F ' OLD: gooder-flag.png (9 KB)' < " $output_file "
60
- grep -F ' NEW: small-image.png (0 KB)' < " $output_file "
59
+ grep -F ' OLD: test/images/ gooder-flag.png (9 KB)' < " $output_file "
60
+ grep -F ' NEW: test/images/ small-image.png (0 KB)' < " $output_file "
61
61
62
62
rm " $output_file "
63
63
}
0 commit comments