mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 23:46:41 +02:00
feat: Fix tests ✨
This commit is contained in:
parent
572eced123
commit
c7ff7eed39
1 changed files with 5 additions and 5 deletions
10
src/app.rs
10
src/app.rs
|
@ -4227,11 +4227,11 @@ mod tests {
|
|||
TableMode::SingleSelection => match app.task_current() {
|
||||
Some(t) => {
|
||||
let s = format!("{} ", t.description());
|
||||
app.modify.update(&s, s.as_str().len())
|
||||
app.modify.update(&s, s.as_str().len(), &mut app.changes)
|
||||
}
|
||||
None => app.modify.update("", 0),
|
||||
None => app.modify.update("", 0, &mut app.changes),
|
||||
},
|
||||
TableMode::MultipleSelection => app.modify.update("", 0),
|
||||
TableMode::MultipleSelection => app.modify.update("", 0, &mut app.changes),
|
||||
}
|
||||
|
||||
app.update(true).await.unwrap();
|
||||
|
@ -4681,9 +4681,9 @@ mod tests {
|
|||
match app.task_current() {
|
||||
Some(t) => {
|
||||
let s = format!("{} ", t.description());
|
||||
app.modify.update(&s, s.as_str().len())
|
||||
app.modify.update(&s, s.as_str().len(), &mut app.changes)
|
||||
}
|
||||
None => app.modify.update("", 0),
|
||||
None => app.modify.update("", 0, &mut app.changes),
|
||||
}
|
||||
app.update(true).await.unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue