Skip to main content

make the tests work on case sensitive filesystems

ID
69339df
date
2021-11-29 23:26:41+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
9602917
message
make the tests work on case sensitive filesystems

CI is failing the .GIF test with a "no such file" error, whereas it passes
locally on macOS.  I'm guessing filesystem case sensitivity is the issue.
changed files
2 files, 1 addition, 1 deletion

Changed files

src/main.rs (8567) → src/main.rs (8573)

diff --git a/src/main.rs b/src/main.rs
index 7ae2e07..d74153e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -174,7 +174,7 @@ mod tests {
 
     #[test]
     fn it_looks_at_multiple_frames_in_an_animated_gif_uppercase() {
-        let output = get_success(&["./src/tests/animated_squares.GIF"]);
+        let output = get_success(&["./src/tests/animated_upper_squares.GIF"]);
 
         assert_eq!(output.stdout.matches("\n").count(), 2, "stdout = {:?}", output.stdout);
     }

src/tests/animated_upper_squares.GIF (0) → src/tests/animated_upper_squares.GIF (703)

diff --git a/src/tests/animated_upper_squares.GIF b/src/tests/animated_upper_squares.GIF
new file mode 100644
index 0000000..b05a113
Binary files /dev/null and b/src/tests/animated_upper_squares.GIF differ