Skip to content

Commit

Permalink
Fix ibc-reflect tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed May 10, 2024
1 parent b2889cd commit fa8d13d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/ibc-reflect/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ mod tests {
// acknowledgement is an error
let ack: AcknowledgementMsg<DispatchResponse> =
from_json(res.acknowledgement.unwrap()).unwrap();
assert_eq!(ack.unwrap_err(), "invalid packet: Error parsing into type ibc_reflect::msg::PacketMsg: unknown variant `reflect_code_id`, expected one of `dispatch`, `who_am_i`, `balances`, `panic`, `return_err`, `return_msgs`");
assert_eq!(ack.unwrap_err(), "invalid packet: Error parsing into type ibc_reflect::msg::PacketMsg: unknown variant `reflect_code_id`, expected one of `dispatch`, `who_am_i`, `balances`, `panic`, `return_err`, `return_msgs`, `no_ack`");
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion contracts/ibc-reflect/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,5 @@ fn handle_dispatch_packet() {
// acknowledgement is an error
let ack: AcknowledgementMsg<DispatchResponse> =
from_slice(&res.acknowledgement.unwrap(), DESERIALIZATION_LIMIT).unwrap();
assert_eq!(ack.unwrap_err(), "invalid packet: Error parsing into type ibc_reflect::msg::PacketMsg: unknown variant `reflect_code_id`, expected one of `dispatch`, `who_am_i`, `balances`, `panic`, `return_err`, `return_msgs`");
assert_eq!(ack.unwrap_err(), "invalid packet: Error parsing into type ibc_reflect::msg::PacketMsg: unknown variant `reflect_code_id`, expected one of `dispatch`, `who_am_i`, `balances`, `panic`, `return_err`, `return_msgs`, `no_ack`");
}

0 comments on commit fa8d13d

Please sign in to comment.