improvise-wpxr: fmt, and the SetCell doc comment within the two-line cap
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdfEGXA7aJ6ftMsCc9PJze
This commit is contained in:
@@ -84,8 +84,7 @@ pub enum Command {
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub enum ModelCommand {
|
||||
// ── ModelChange::CellData ───────────────────────────────────────
|
||||
/// Write one stored cell: a [`RecordCell`] and the view that drew it (ADR 002,
|
||||
/// improvise-wpxr). The view resolves a record no cell of which is stored yet.
|
||||
/// Write one cell: a [`RecordCell`] and the view that drew it (ADR 002, wpxr).
|
||||
SetCell {
|
||||
view: String,
|
||||
cell: RecordCell,
|
||||
|
||||
@@ -3446,7 +3446,10 @@ mod tests {
|
||||
};
|
||||
let client = on_other();
|
||||
let written = |name: &str| composed(&client, ev(KeyCode::Char('x')), name, &[]);
|
||||
assert_eq!(views(&written("clear-cell").expect("clear-cell")), ["Other"]);
|
||||
assert_eq!(
|
||||
views(&written("clear-cell").expect("clear-cell")),
|
||||
["Other"]
|
||||
);
|
||||
assert_eq!(views(&written("paste").expect("paste")), ["Other"]);
|
||||
|
||||
let mut editing = on_other();
|
||||
|
||||
Reference in New Issue
Block a user