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

@@ -87,7 +87,7 @@ impl From<String> for Room {
#[test]
fn test_room_from_string() {
assert_eq!(
Room::from(include_str!("../test/resources/room").to_string()),
Room::from(include_str!("test-resources/room").to_string()),
mock::room()
);
}
@@ -146,5 +146,5 @@ impl ToString for Room {
#[test]
fn test_room_to_string() {
assert_eq!(mock::room().to_string(), include_str!("../test/resources/room").to_string());
assert_eq!(mock::room().to_string(), include_str!("test-resources/room").to_string());
}