fixup: box the buildresult in finish

This commit is contained in:
Graham Christensen 2019-01-02 21:13:03 -05:00
parent 41105c1862
commit 434f4dc5bb
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -419,7 +419,7 @@ mod tests {
vec![worker::Action::Ack],
worker.consumer(&LogMessage {
from: make_from("foo"),
message: MsgType::Finish(BuildResult::V1 {
message: MsgType::Finish(Box::new(BuildResult::V1 {
tag: V1Tag::V1,
repo: Repo {
clone_url: "https://github.com/nixos/ofborg.git".to_owned(),
@ -439,7 +439,7 @@ mod tests {
status: BuildStatus::Success,
attempted_attrs: Some(vec!["foo".to_owned()]),
skipped_attrs: Some(vec!["bar".to_owned()]),
})
}))
})
);
}