move test resources
This commit is contained in:
@@ -80,7 +80,7 @@ impl ToString for Sprite {
|
||||
#[test]
|
||||
fn test_sprite_from_string() {
|
||||
let output = Sprite::from(
|
||||
include_str!("../test/resources/sprite").to_string()
|
||||
include_str!("test-resources/sprite").to_string()
|
||||
);
|
||||
|
||||
let expected = mock::sprite();
|
||||
@@ -90,5 +90,5 @@ fn test_sprite_from_string() {
|
||||
|
||||
#[test]
|
||||
fn test_sprite_to_string() {
|
||||
assert_eq!(mock::sprite().to_string(), include_str!("../test/resources/sprite").to_string());
|
||||
assert_eq!(mock::sprite().to_string(), include_str!("test-resources/sprite").to_string());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user