From 6542a23281af59303540025cfe7deb0f54951f91 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 19 Apr 2024 21:48:07 +0200 Subject: [PATCH] failing doc tests --- ibc-core/ics24-host/types/src/identifiers/channel_id.rs | 4 ++-- ibc-core/ics24-host/types/src/identifiers/connection_id.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ibc-core/ics24-host/types/src/identifiers/channel_id.rs b/ibc-core/ics24-host/types/src/identifiers/channel_id.rs index 5d4583dc6..c8f9e30d7 100644 --- a/ibc-core/ics24-host/types/src/identifiers/channel_id.rs +++ b/ibc-core/ics24-host/types/src/identifiers/channel_id.rs @@ -88,9 +88,9 @@ impl AsRef for ChannelId { /// ``` /// use core::str::FromStr; /// use ibc_core_host_types::identifiers::ChannelId; -/// let channel_id = ChannelId::from_str("channelId-0"); +/// let channel_id = ChannelId::from_str("channel-0"); /// assert!(channel_id.is_ok()); -/// channel_id.map(|id| {assert_eq!(&id, "channelId-0")}); +/// channel_id.map(|id| {assert_eq!(&id, "channel-0")}); /// ``` impl PartialEq for ChannelId { fn eq(&self, other: &str) -> bool { diff --git a/ibc-core/ics24-host/types/src/identifiers/connection_id.rs b/ibc-core/ics24-host/types/src/identifiers/connection_id.rs index 883c41138..9fe9657cc 100644 --- a/ibc-core/ics24-host/types/src/identifiers/connection_id.rs +++ b/ibc-core/ics24-host/types/src/identifiers/connection_id.rs @@ -82,9 +82,9 @@ impl FromStr for ConnectionId { /// ``` /// use core::str::FromStr; /// use ibc_core_host_types::identifiers::ConnectionId; -/// let conn_id = ConnectionId::from_str("connectionId-0"); +/// let conn_id = ConnectionId::from_str("connection-0"); /// assert!(conn_id.is_ok()); -/// conn_id.map(|id| {assert_eq!(&id, "connectionId-0")}); +/// conn_id.map(|id| {assert_eq!(&id, "connection-0")}); /// ``` impl PartialEq for ConnectionId { fn eq(&self, other: &str) -> bool {