Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Dec 23, 2023
1 parent e6c4519 commit a9cc4ca
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/integration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,8 @@ mod tests {
PortId::from_str("transfer")?,
ChannelId::from_str("channel-0")?,
);
let res = rly.query_channel_proof(
port_id.clone(),
channel_id.clone(),
Some(last_height.into()),
)?;
let res =
rly.query_channel_proof(port_id.clone(), channel_id.clone(), Some(last_height))?;

info!("expected channel is {:?}", res.0);

Expand Down Expand Up @@ -249,7 +246,7 @@ mod tests {
let msg: UpdateClientMessage = res.0.message().unwrap().try_into()?;
assert!(msg.prev_height == Some(Height::from(last_height)));
assert!(msg.post_height == Height::from(lh));
assert!(msg.emitted_states.len() == 0);
assert!(msg.emitted_states.is_empty());
lh
};
info!("current last_height is {}", last_height);
Expand Down

0 comments on commit a9cc4ca

Please sign in to comment.