Fix test.
This commit is contained in:
parent
a0531129df
commit
97295a66da
@ -18,6 +18,12 @@ Breaking changes
|
|||||||
* `LogicPackage` is removed from `CorePackage`.
|
* `LogicPackage` is removed from `CorePackage`.
|
||||||
* Bit-field functions are moved into a new `BitFieldPackage` (used to be in `LogicPackage`) which makes more sense.
|
* Bit-field functions are moved into a new `BitFieldPackage` (used to be in `LogicPackage`) which makes more sense.
|
||||||
|
|
||||||
|
Bug fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
* Constructing a literal array or object map now checks for size limits for each item instead of at the very end when it is already too late.
|
||||||
|
* Non-`INT` integer types are now treated exactly as custom types under `only_i64` and `only_i32`.
|
||||||
|
|
||||||
New features
|
New features
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
@ -10,8 +10,10 @@ fn test_ops() -> Result<(), Box<EvalAltResult>> {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(feature = "only_i32"))]
|
||||||
|
#[cfg(not(feature = "only_i64"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_ops_numbers() -> Result<(), Box<EvalAltResult>> {
|
fn test_ops_other_number_types() -> Result<(), Box<EvalAltResult>> {
|
||||||
let engine = Engine::new();
|
let engine = Engine::new();
|
||||||
|
|
||||||
let mut scope = Scope::new();
|
let mut scope = Scope::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user