Do not run test_string_substring if no_object.

This commit is contained in:
Stephen Chung
2020-04-13 14:26:53 +08:00
parent 2e9a5f7a89
commit 254522b268
2 changed files with 1 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ fn test_string() -> Result<(), EvalAltResult> {
}
#[cfg(not(feature = "no_stdlib"))]
#[cfg(not(feature = "no_object"))]
#[test]
fn test_string_substring() -> Result<(), EvalAltResult> {
let engine = Engine::new();