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

@@ -64,7 +64,7 @@ impl ToString for Item {
#[test]
fn test_item_from_string() {
let output = Item::from(include_str!("../test/resources/item").to_string());
let output = Item::from(include_str!("test-resources/item").to_string());
let expected = mock::item();
assert_eq!(output, expected);
}
@@ -72,6 +72,6 @@ fn test_item_from_string() {
#[test]
fn test_item_to_string() {
let output = mock::item().to_string();
let expected = include_str!("../test/resources/item").to_string();
let expected = include_str!("test-resources/item").to_string();
assert_eq!(output, expected);
}