Skip to content

Commit a146f65

Browse files
committed
chore: fmt
1 parent 5fd61d9 commit a146f65

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/extract.rs

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,9 @@ mod test {
188188

189189
let Codec(data) = Codec::<Data>::from_bytes(bytes, ContentType::Json).unwrap();
190190

191-
assert_eq!(
192-
data,
193-
Data {
194-
hello: "world".into()
195-
}
196-
);
191+
assert_eq!(data, Data {
192+
hello: "world".into()
193+
});
197194
}
198195

199196
#[test]
@@ -202,11 +199,8 @@ mod test {
202199

203200
let Codec(data) = Codec::<Data>::from_bytes(bytes, ContentType::MsgPack).unwrap();
204201

205-
assert_eq!(
206-
data,
207-
Data {
208-
hello: "world".into()
209-
}
210-
);
202+
assert_eq!(data, Data {
203+
hello: "world".into()
204+
});
211205
}
212206
}

0 commit comments

Comments
 (0)