From b536b22ab009cd3b03c9e151124e17e2fd28a76d Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Thu, 12 Jun 2025 15:36:58 -0400 Subject: [PATCH] Added test --- tests/test.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test.rs b/tests/test.rs index 3e31a84..df8891a 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -24,4 +24,10 @@ mod tests { 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) } + + #[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) + } }