fix local markdown attachment regressions
This commit is contained in:
@@ -556,7 +556,10 @@ mod tests {
|
||||
Some("save:op:abc".into()),
|
||||
)
|
||||
.expect("保存后应更新 buffer");
|
||||
assert_eq!(saved.last_write_intent_id.as_deref(), Some("intent:editor:abc"));
|
||||
assert_eq!(
|
||||
saved.last_write_intent_id.as_deref(),
|
||||
Some("intent:editor:abc")
|
||||
);
|
||||
assert_eq!(saved.last_save_operation_id.as_deref(), Some("save:op:abc"));
|
||||
|
||||
let outcome = store
|
||||
@@ -566,7 +569,10 @@ mod tests {
|
||||
Some("external-editor".into()),
|
||||
)
|
||||
.expect("watcher 回声应返回 outcome");
|
||||
assert!(outcome.self_write_echo, "同版本 watcher 回声应标记为自写回声");
|
||||
assert!(
|
||||
outcome.self_write_echo,
|
||||
"同版本 watcher 回声应标记为自写回声"
|
||||
);
|
||||
assert_eq!(
|
||||
outcome.buffer.last_write_intent_id.as_deref(),
|
||||
Some("intent:editor:abc")
|
||||
|
||||
Reference in New Issue
Block a user