Skip to content

Commit 4a0d6e1

Browse files
Improve SubMsgResult test
Co-authored-by: Simon Warta <[email protected]>
1 parent 9b68dee commit 4a0d6e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/std/src/results/submessages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ mod tests {
255255
#[test]
256256
fn sub_msg_result_deserialization_works() {
257257
// should work without `msg_responses`
258-
let result: SubMsgResult = from_json(br#"{"ok":{"events":[],"data":null}}"#).unwrap();
258+
let result: SubMsgResult = from_json(br#"{"ok":{"events":[]}}"#).unwrap();
259259
assert_eq!(
260260
result,
261261
SubMsgResult::Ok(SubMsgResponse {

0 commit comments

Comments
 (0)