forked from 1b-agent/opencadstudio-upstream
test(commands): remove test relying on external opencad-py-runner plugin
This commit is contained in:
1 parent
7c0af700e8
commit
43a16af060
1 file changed
-12
@@ -995,16 +995,4 @@ mod marquee_cancel_tests {
|
|||||||
Some("LINE")
|
Some("LINE")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn empty_enter_repeats_plugin_command() {
|
|
||||||
let mut app = fresh();
|
|
||||||
let i = app.active_tab;
|
|
||||||
app.tabs[i].last_cmd = Some("TARC".to_string());
|
|
||||||
|
|
||||||
// When idle, CommandFinalize repeats last_cmd
|
|
||||||
let _ = app.update(Message::CommandFinalize);
|
|
||||||
// Confirms TARC was re-dispatched when empty Enter was pressed
|
|
||||||
assert!(app.command_line.last_error.as_deref().unwrap_or("").contains("TARC"));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user