Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
pxseu committed May 13, 2023
1 parent 9734c5f commit 9d9d218
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/ignite/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,6 @@ mod test {

let estimate = get_price_estimate(&skus, &resources, &volume).unwrap();

assert_eq!(estimate, "6.57");
assert_eq!(estimate, "6.95");
}
}
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ pub async fn run() -> Result<()> {

if let Err(error) = handle_command(cli.commands, state).await {
log::error!("{error}");
log::debug!("{error:#?}");
std::process::exit(1);
}

Expand Down
4 changes: 2 additions & 2 deletions src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ pub fn set_hook() {
};

// add some color
log::error!("{}", message);
log::error!("{message}");

#[cfg(debug_assertions)]
log::debug!("{}", panic_info);
log::debug!("{panic_info}");

std::process::exit(1);
}));
Expand Down

0 comments on commit 9d9d218

Please sign in to comment.