diff --git a/src/avatar.rs b/src/avatar.rs index 75ea8fa..9061d95 100644 --- a/src/avatar.rs +++ b/src/avatar.rs @@ -1,4 +1,4 @@ -use crate::{AnimationFrames, Image, mock, Position, optional_data_line, ToBase36, from_base36}; +use crate::{AnimationFrames, Image, Position, optional_data_line, ToBase36, from_base36}; /// avatar is a "sprite" in the game data but with a specific id #[derive(Debug, Eq, PartialEq)] @@ -80,10 +80,10 @@ fn test_avatar_from_string() { include_str!("test-resources/avatar").to_string() ); - assert_eq!(output, mock::avatar()); + assert_eq!(output, crate::mock::avatar()); } #[test] fn test_avatar_to_string() { - assert_eq!(mock::avatar().to_string(), include_str!("test-resources/avatar")); + assert_eq!(crate::mock::avatar().to_string(), include_str!("test-resources/avatar")); }