From ffba2e6cf088e7fc69e06a7e4327af8c4033e052 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Mon, 29 Apr 2024 11:29:43 +0200 Subject: [PATCH] correct name --- ibc-testkit/src/fixtures/core/channel/packet.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ibc-testkit/src/fixtures/core/channel/packet.rs b/ibc-testkit/src/fixtures/core/channel/packet.rs index b33e1b2a4..c4eef70c2 100644 --- a/ibc-testkit/src/fixtures/core/channel/packet.rs +++ b/ibc-testkit/src/fixtures/core/channel/packet.rs @@ -84,7 +84,7 @@ mod tests { let proof_height = 10; let default_raw_packet = dummy_raw_packet(proof_height, 1000); - let raw_packet_no_timeout_or_timestamp = dummy_raw_packet(10, 0); + let raw_packet_no_timeout_of_timestamp = dummy_raw_packet(10, 0); let mut raw_packet_invalid_timeout_height = dummy_raw_packet(0, 10); raw_packet_invalid_timeout_height.timeout_height = Some(RawHeight { @@ -102,7 +102,7 @@ mod tests { // Note: ibc-go currently (July 2022) incorrectly rejects this // case, even though it is allowed in ICS-4. name: "Packet with no timeout of timestamp".to_string(), - raw: raw_packet_no_timeout_or_timestamp.clone(), + raw: raw_packet_no_timeout_of_timestamp.clone(), want_pass: true, }, Test { @@ -225,7 +225,7 @@ mod tests { name: "Missing both timeout height and timestamp".to_string(), raw: RawPacket { timeout_height: None, - ..raw_packet_no_timeout_or_timestamp + ..raw_packet_no_timeout_of_timestamp }, want_pass: false, }