Added test #10
@@ -24,4 +24,10 @@ mod tests {
|
|||||||
let result = async_std::task::block_on(icarus_envy::environment::get_root_directory());
|
let result = async_std::task::block_on(icarus_envy::environment::get_root_directory());
|
||||||
assert_eq!(result, "/path/to/root", "ROOT_DIRECTORY does not match {:?}", result)
|
assert_eq!(result, "/path/to/root", "ROOT_DIRECTORY does not match {:?}", result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_get_icarus_base_api_url() {
|
||||||
|
let result = async_std::task::block_on(icarus_envy::environment::get_icarus_base_api_url());
|
||||||
|
assert_eq!(result, "https://icarus.com", "ICARUS_BASE_API_URL does not match {:?}", result)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user