Fix tests.
This commit is contained in:
parent
a2551a4650
commit
371b7fd00b
@ -2,7 +2,7 @@ error: duplicate Rhai signature for 'bar'
|
|||||||
--> $DIR/rhai_fn_rename_collision_oneattr_multiple.rs:17:15
|
--> $DIR/rhai_fn_rename_collision_oneattr_multiple.rs:17:15
|
||||||
|
|
|
|
||||||
17 | #[rhai_fn(get = "bar")]
|
17 | #[rhai_fn(get = "bar")]
|
||||||
| ^^^
|
| ^^^^^^^^^^^
|
||||||
|
|
||||||
error: duplicated function renamed 'bar'
|
error: duplicated function renamed 'bar'
|
||||||
--> $DIR/rhai_fn_rename_collision_oneattr_multiple.rs:12:15
|
--> $DIR/rhai_fn_rename_collision_oneattr_multiple.rs:12:15
|
||||||
|
@ -188,6 +188,7 @@ fn test_string_fn() -> Result<(), Box<EvalAltResult>> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "no_object"))]
|
#[cfg(not(feature = "no_object"))]
|
||||||
|
#[cfg(not(feature = "no_index"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_string_split() -> Result<(), Box<EvalAltResult>> {
|
fn test_string_split() -> Result<(), Box<EvalAltResult>> {
|
||||||
let engine = Engine::new();
|
let engine = Engine::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user