Added test #10

Merged
phoenix merged 5 commits from add_tests into devel 2025-06-12 21:26:23 +00:00
Showing only changes of commit b536b22ab0 - Show all commits

View File

@@ -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)
}
} }