diff --git a/tests/plugins.rs b/tests/plugins.rs index 2bee84e4..928f0381 100644 --- a/tests/plugins.rs +++ b/tests/plugins.rs @@ -11,7 +11,7 @@ mod test { pub mod special_array_package { use rhai::{Array, INT}; - pub const MYSTIC_NUMBER: INT = 42; + pub const MYSTIC_NUMBER: INT = 42 as INT; #[cfg(not(feature = "no_object"))] pub mod feature {