Fixup code to make sure all feature builds succeed.

This commit is contained in:
Stephen Chung
2020-03-14 20:06:40 +08:00
parent 973153e832
commit dd36f3387a
7 changed files with 30 additions and 12 deletions

View File

@@ -1,4 +1,7 @@
use rhai::{Engine, EvalAltResult, FLOAT, INT};
use rhai::{Engine, EvalAltResult, INT};
#[cfg(not(feature = "no_float"))]
use rhai::FLOAT;
#[test]
fn test_power_of() -> Result<(), EvalAltResult> {