Skip to content

Commit

Permalink
cargo format
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 26, 2024
1 parent faa5a98 commit b4ad112
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ibc-testkit/src/testapp/ibc/clients/mock/client_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,10 @@ mod test {
#[cfg(feature = "serde")]
#[test]
fn test_any_client_state_to_json() {
use super::{MockClientState, MockHeader};
use ibc::primitives::proto::Any;

use super::{MockClientState, MockHeader};

let client_state = MockClientState::new(MockHeader::default());
let expected = r#"{"typeUrl":"/ibc.mock.ClientState","value":"CgQKAhABEIDIr6Al"}"#;
let json = serde_json::to_string(&Any::from(client_state)).unwrap();
Expand Down

0 comments on commit b4ad112

Please sign in to comment.