修正组合回撤负向测试断言
This commit is contained in:
@@ -3307,6 +3307,6 @@ mod tests {
|
|||||||
});
|
});
|
||||||
|
|
||||||
let error = platform_expr_config_from_value("", "", &spec).expect_err("invalid trigger");
|
let error = platform_expr_config_from_value("", "", &spec).expect_err("invalid trigger");
|
||||||
assert!(error.contains("drawdownTrigger"));
|
assert!(error.to_string().contains("drawdownTrigger"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user