From 2fd30321a888e839cd4432aee4a9eea254bbbf72 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 2 Oct 2020 15:31:59 +0800 Subject: [PATCH] Fix test. --- tests/modules.rs | 1 + 1 file changed, 1 insertion(+) 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#"