ffi: two items: lines left at the indent of the field above them
`cargo fmt --check`. Deleting `color:` from these two NoteDraft literals left the line after it one level too deep — the sort of thing a formatter exists to catch and an eye does not. #3041 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -670,7 +670,7 @@ mod tests {
|
|||||||
let created = app
|
let created = app
|
||||||
.create_note(NoteDraft {
|
.create_note(NoteDraft {
|
||||||
body: String::new(),
|
body: String::new(),
|
||||||
items: Some(vec!["milk".to_string(), "eggs".to_string()]),
|
items: Some(vec!["milk".to_string(), "eggs".to_string()]),
|
||||||
})
|
})
|
||||||
.expect("create should succeed");
|
.expect("create should succeed");
|
||||||
assert_eq!(created.display_title, "milk");
|
assert_eq!(created.display_title, "milk");
|
||||||
@@ -705,7 +705,7 @@ mod tests {
|
|||||||
let note = app
|
let note = app
|
||||||
.create_note(NoteDraft {
|
.create_note(NoteDraft {
|
||||||
body: "Packing".to_string(),
|
body: "Packing".to_string(),
|
||||||
items: Some(vec!["socks".to_string()]),
|
items: Some(vec!["socks".to_string()]),
|
||||||
})
|
})
|
||||||
.expect("create");
|
.expect("create");
|
||||||
assert_eq!(note.items.len(), 1);
|
assert_eq!(note.items.len(), 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user