Skip to content

Commit

Permalink
Check we parse the correct default type
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Jan 18, 2024
1 parent 20392ab commit 19df4bb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/relayer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ mod tests {

use super::{load, parse_gas_prices, store_writer};
use crate::config::GasPrice;
use monostate::MustBe;
use test_log::test;

#[test]
Expand Down Expand Up @@ -832,7 +833,11 @@ mod tests {

let config = load(path).expect("could not parse config");

dbg!(config);
match config.chains[0] {
super::ChainConfig::CosmosSdk(ref config) => {
assert_eq!(config.r#type, MustBe!("CosmosSdk"));
}
}
}

#[test]
Expand Down

0 comments on commit 19df4bb

Please sign in to comment.