move test resources
This commit is contained in:
@@ -41,7 +41,7 @@ impl ToString for Image {
|
||||
|
||||
#[test]
|
||||
fn test_image_from_string() {
|
||||
let output = Image::from(include_str!("../test/resources/image").to_string());
|
||||
let output = Image::from(include_str!("test-resources/image").to_string());
|
||||
|
||||
let expected = Image {
|
||||
pixels: vec![
|
||||
@@ -62,6 +62,6 @@ fn test_image_from_string() {
|
||||
#[test]
|
||||
fn test_image_to_string() {
|
||||
let output = mock::image::chequers_1().to_string();
|
||||
let expected = include_str!("../test/resources/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