Do not run test_string_substring if no_object.
This commit is contained in:
parent
2e9a5f7a89
commit
254522b268
@ -317,8 +317,6 @@ Use `Engine::new_raw` to create a _raw_ `Engine`, in which:
|
|||||||
let mut engine = Engine::new_raw(); // create a 'raw' Engine
|
let mut engine = Engine::new_raw(); // create a 'raw' Engine
|
||||||
|
|
||||||
engine.register_stdlib(); // register the standard library manually
|
engine.register_stdlib(); // register the standard library manually
|
||||||
|
|
||||||
engine.
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Evaluate expressions only
|
Evaluate expressions only
|
||||||
|
@ -35,6 +35,7 @@ fn test_string() -> Result<(), EvalAltResult> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "no_stdlib"))]
|
#[cfg(not(feature = "no_stdlib"))]
|
||||||
|
#[cfg(not(feature = "no_object"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_string_substring() -> Result<(), EvalAltResult> {
|
fn test_string_substring() -> Result<(), EvalAltResult> {
|
||||||
let engine = Engine::new();
|
let engine = Engine::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user