Fix tests.

This commit is contained in:
Stephen Chung 2020-09-26 00:46:47 +08:00
parent a2551a4650
commit 371b7fd00b
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ error: duplicate Rhai signature for 'bar'
--> $DIR/rhai_fn_rename_collision_oneattr_multiple.rs:17:15
|
17 | #[rhai_fn(get = "bar")]
| ^^^
| ^^^^^^^^^^^
error: duplicated function renamed 'bar'
--> $DIR/rhai_fn_rename_collision_oneattr_multiple.rs:12:15

View File

@ -188,6 +188,7 @@ fn test_string_fn() -> Result<(), Box<EvalAltResult>> {
}
#[cfg(not(feature = "no_object"))]
#[cfg(not(feature = "no_index"))]
#[test]
fn test_string_split() -> Result<(), Box<EvalAltResult>> {
let engine = Engine::new();