don't import mock, just reference directly
This commit is contained in:
parent
59068dadc9
commit
c5604f2964
|
@ -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
|
/// avatar is a "sprite" in the game data but with a specific id
|
||||||
#[derive(Debug, Eq, PartialEq)]
|
#[derive(Debug, Eq, PartialEq)]
|
||||||
|
@ -80,10 +80,10 @@ fn test_avatar_from_string() {
|
||||||
include_str!("test-resources/avatar").to_string()
|
include_str!("test-resources/avatar").to_string()
|
||||||
);
|
);
|
||||||
|
|
||||||
assert_eq!(output, mock::avatar());
|
assert_eq!(output, crate::mock::avatar());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_avatar_to_string() {
|
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"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue