From 67882d3df81bfda0f683a9f4b2f72976563f4a16 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 08:17:39 +0000 Subject: [PATCH] Add tests for the std.excel module registration in stdlib Adds `test_excel_module` to `stdlib/tests/stdlib_tests.rs` to verify that `register_excel` registers the module with the correct name, version, empty exports, and no required capabilities initially. Co-authored-by: Tcode-Motion <188012755+Tcode-Motion@users.noreply.github.com> --- stdlib/tests/stdlib_tests.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/stdlib/tests/stdlib_tests.rs b/stdlib/tests/stdlib_tests.rs index f7df969f..be959416 100644 --- a/stdlib/tests/stdlib_tests.rs +++ b/stdlib/tests/stdlib_tests.rs @@ -1151,3 +1151,14 @@ fn test_ai_generate_text() { let val = res.unwrap(); assert!(val.as_string().unwrap().contains("Prompt: What is 2+2?")); } + +#[test] +fn test_excel_module() { + let registry = StdlibRegistry::new(); + let excel = registry.get_module("std.excel").unwrap(); + + assert_eq!(excel.name, "std.excel"); + assert_eq!(excel.version, "1.0.0"); + assert!(excel.required_capabilities.is_empty()); + assert!(excel.exports.is_empty()); +}