move test resources
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user