Fix test.

This commit is contained in:
Stephen Chung
2022-01-05 13:24:52 +08:00
parent a0531129df
commit 97295a66da
2 changed files with 9 additions and 1 deletions

View File

@@ -10,8 +10,10 @@ fn test_ops() -> Result<(), Box<EvalAltResult>> {
Ok(())
}
#[cfg(not(feature = "only_i32"))]
#[cfg(not(feature = "only_i64"))]
#[test]
fn test_ops_numbers() -> Result<(), Box<EvalAltResult>> {
fn test_ops_other_number_types() -> Result<(), Box<EvalAltResult>> {
let engine = Engine::new();
let mut scope = Scope::new();