forked from 1b-agent/opencadstudio-upstream
#1798 follow-up: wrap lines over 100 columns
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
87c44cee78
commit
3893165ac7
4 files changed
+69
-25
No files matched your search
@@ -258,10 +258,12 @@ mod tests {
|
||||
fn spanish_and_international_options_work() {
|
||||
for option in ["Universal", "U", "_World"] {
|
||||
let mut cmd = UcsCommand::new();
|
||||
assert!(matches!(cmd.on_text_input(option), Some(CmdResult::Dispatch(s)) if s == "UCS WORLD"));
|
||||
let result = cmd.on_text_input(option);
|
||||
assert!(matches!(result, Some(CmdResult::Dispatch(s)) if s == "UCS WORLD"));
|
||||
}
|
||||
let mut cmd = UcsCommand::new();
|
||||
assert!(matches!(cmd.on_text_input("Guardar"), Some(CmdResult::NeedPoint)));
|
||||
assert!(matches!(cmd.on_text_input("MiPlano"), Some(CmdResult::Dispatch(s)) if s == "UCS SAVE MiPlano"));
|
||||
let result = cmd.on_text_input("MiPlano");
|
||||
assert!(matches!(result, Some(CmdResult::Dispatch(s)) if s == "UCS SAVE MiPlano"));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user