Updated reply to include document name.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s

This commit is contained in:
2026-02-14 13:45:49 -05:00
parent 1f82c07565
commit 903158b72a
4 changed files with 43 additions and 93 deletions

View File

@@ -40,6 +40,7 @@ impl MessageAction for MsgAction {
Self::Query(data) => data.doc_name(),
Self::Records(data) => data.doc_name(),
Self::Register(data) => data.doc_name(),
Self::Reply(data) => data.doc_name(),
_ => &NameType::None,
}
}
@@ -159,7 +160,7 @@ mod msgactions {
#[test]
fn turn_reply_into_action() {
let value = Reply::new();
let value = Reply::new(Name::english("something"));
let result: MsgAction = value.into();
match result {
MsgAction::Reply(_) => {}