change root_config test data
This commit is contained in:
@@ -34,11 +34,18 @@ fn parse_complex() {
|
||||
|
||||
assert!(
|
||||
config
|
||||
.game_by_id("sse")
|
||||
.game_by_id("example_game")
|
||||
.is_some_and(|e| e.install_location() == "/home/user/games/sse"),
|
||||
"Installed game wrong path"
|
||||
);
|
||||
|
||||
assert!(
|
||||
config
|
||||
.game_by_id("sse")
|
||||
.is_some_and(|e| e.install_location().ends_with("games/sse")),
|
||||
"Installed game wrong path"
|
||||
);
|
||||
|
||||
assert!(config.game_by_id("starfield").is_none());
|
||||
|
||||
assert!(config.mod_by_id("mod1").is_some());
|
||||
|
||||
Reference in New Issue
Block a user