Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Jun 25, 2024
1 parent 5bd40d9 commit f3b8069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ops/fuelup_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ pub fn default(toolchain: Option<String>) -> Result<()> {
s.default_toolchain = Some(new_default.name.clone());
Ok(())
})?;
info!("default toolchain set to '{}'", new_default.name);
info!("Default toolchain set to '{}'", new_default.name);
Ok(())
}
2 changes: 1 addition & 1 deletion tests/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn fuelup_default_latest_and_custom() -> Result<()> {
assert_eq!(output.stdout, expected_stdout);

let output = cfg.fuelup(&["default", CUSTOM_TOOLCHAIN_NAME]);
let expected_stdout = format!("default toolchain set to '{CUSTOM_TOOLCHAIN_NAME}'\n");
let expected_stdout = format!("Default toolchain set to '{CUSTOM_TOOLCHAIN_NAME}'\n");
assert_eq!(output.stdout, expected_stdout);
})?;
Ok(())
Expand Down

0 comments on commit f3b8069

Please sign in to comment.