move test resources

This commit is contained in:
2020-04-14 00:17:40 +01:00
parent 799a97c4dd
commit bfe679dfc8
20 changed files with 17 additions and 16 deletions

View File

@@ -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());
}