Fix test.

This commit is contained in:
Stephen Chung 2020-09-11 22:56:19 +08:00
parent 36fe02558e
commit b311688fee
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ help: consider importing one of these items
| |
11 | use core::fmt::Pointer; 11 | use core::fmt::Pointer;
| |
11 | use crate::mem::fmt::Pointer; 11 | use crate::new_vec::fmt::Pointer;
| |
11 | use std::fmt::Pointer; 11 | use std::fmt::Pointer;
| |

View File

@ -29,6 +29,8 @@ fn test_packages() -> Result<(), Box<EvalAltResult>> {
Ok(()) Ok(())
} }
#[cfg(not(feature = "no_function"))]
#[cfg(not(feature = "no_module"))]
#[test] #[test]
fn test_packages_with_script() -> Result<(), Box<EvalAltResult>> { fn test_packages_with_script() -> Result<(), Box<EvalAltResult>> {
let mut engine = Engine::new(); let mut engine = Engine::new();