mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-27 12:11:12 +08:00
style: 自动格式化
This commit is contained in:
@@ -158,7 +158,8 @@ mod tests {
|
||||
assert!(cfg.worker, "worker 旗标应置位");
|
||||
assert!(!cfg.supervise, "supervise 旗标不应置位");
|
||||
|
||||
let err = RunConfig::parse(&args(&["--worker", "--supervise"])).expect_err("worker+supervise must be exclusive");
|
||||
let err =
|
||||
RunConfig::parse(&args(&["--worker", "--supervise"])).expect_err("worker+supervise must be exclusive");
|
||||
assert!(err.contains("mutually exclusive"), "应提示互斥:{err}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user