rename mocks to mock
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::{AnimationFrames, Image, mocks};
|
||||
use crate::{AnimationFrames, Image, mock};
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
pub struct Item {
|
||||
@@ -56,13 +56,13 @@ impl ToString for Item {
|
||||
#[test]
|
||||
fn test_item_from_string() {
|
||||
let output = Item::from(include_str!("../test/resources/item").to_string());
|
||||
let expected = mocks::item();
|
||||
let expected = mock::item();
|
||||
assert_eq!(output, expected);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_item_to_string() {
|
||||
let output = mocks::item().to_string();
|
||||
let output = mock::item().to_string();
|
||||
let expected = include_str!("../test/resources/item").to_string();
|
||||
assert_eq!(output, expected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user