rename mocks to mock
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::mocks;
|
||||
use crate::mock;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
pub struct Image {
|
||||
@@ -61,7 +61,7 @@ fn test_image_from_string() {
|
||||
|
||||
#[test]
|
||||
fn test_image_to_string() {
|
||||
let output = mocks::image::chequers_1().to_string();
|
||||
let output = mock::image::chequers_1().to_string();
|
||||
let expected = include_str!("../test/resources/image-chequers-1").to_string();
|
||||
assert_eq!(output, expected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user