Mercurial > touhou
diff src/th06/anm0.rs @ 645:7bde50132735
Don’t hardcode my home directory in tests.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 03 Aug 2019 22:44:36 +0200 |
parents | 01849ffd0180 |
children | 3ff1af76e413 |
line wrap: on
line diff
--- a/src/th06/anm0.rs +++ b/src/th06/anm0.rs @@ -296,7 +296,7 @@ mod tests { #[test] fn anm0() { - let file = File::open("/home/linkmauve/games/pc/東方/TH06 ~ The Embodiment of Scarlet Devil/CM/player01.anm").unwrap(); + let file = File::open("EoSD/CM/player01.anm").unwrap(); let mut file = io::BufReader::new(file); let mut buf = vec![]; file.read_to_end(&mut buf).unwrap();