Skip to content

Commit

Permalink
fix: testing release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
cakekindel committed Jan 24, 2023
1 parent 0d4bf22 commit 4820c92
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions toad-msg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,12 @@ pub(crate) fn test_msg() -> (alloc::Message, Vec<u8>) {
options.concat().as_ref(),
payload.concat().as_ref()].concat();

let mut opts = BTreeMap::new();
opts.insert(OptNumber(12), vec![OptValue(content_format.to_vec())]);

let msg = alloc::Message { id: Id(1),
ty: Type::Con,
ver: Version(1),
token: Token(tinyvec::array_vec!([u8; 8] => 254)),
opts,
opts: BTreeMap::from([(OptNumber(12),
vec![OptValue(content_format.to_vec())])]),
code: Code { class: 2,
detail: 5 },
payload: Payload(b"hello, world!".to_vec()) };
Expand Down

0 comments on commit 4820c92

Please sign in to comment.