move test resources
This commit is contained in:
@@ -199,7 +199,7 @@ impl Game {
|
||||
#[test]
|
||||
fn test_game_from_string() {
|
||||
let output = Game::from(
|
||||
include_str!["../test/resources/default.bitsy"].to_string()
|
||||
include_str!["test-resources/default.bitsy"].to_string()
|
||||
);
|
||||
|
||||
let expected = mock::game_default();
|
||||
@@ -210,7 +210,7 @@ fn test_game_from_string() {
|
||||
#[test]
|
||||
fn test_game_to_string() {
|
||||
let output = mock::game_default().to_string();
|
||||
let expected = include_str!["../test/resources/default.bitsy"].to_string();
|
||||
let expected = include_str!["test-resources/default.bitsy"].to_string();
|
||||
assert_eq!(output, expected);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user