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

@@ -66,7 +66,7 @@ impl ToString for Tile {
#[test]
fn test_tile_from_string() {
let output = Tile::from(include_str!("../test/resources/tile").to_string());
let output = Tile::from(include_str!("test-resources/tile").to_string());
let expected = Tile {
id: 35,
@@ -94,7 +94,7 @@ fn test_tile_to_string() {
]
}.to_string();
let expected = include_str!("../test/resources/tile-chequers").to_string();
let expected = include_str!("test-resources/tile-chequers").to_string();
assert_eq!(output, expected);
}