diff --git a/tests/modules.rs b/tests/modules.rs index f14a8276..db82d600 100644 --- a/tests/modules.rs +++ b/tests/modules.rs @@ -362,6 +362,7 @@ fn test_module_str() -> Result<(), Box> { Ok(()) } +#[cfg(not(feature = "no_function"))] #[test] fn test_module_ast_namespace() -> Result<(), Box> { let script = r#"