Mercurial > touhou
diff src/th06/anm0_vm.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 | 7d92730bf543 |
line wrap: on
line diff
--- a/src/th06/anm0_vm.rs +++ b/src/th06/anm0_vm.rs @@ -414,7 +414,7 @@ mod tests { #[test] fn anm_runner() { - 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();