Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix test failures and warnings on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cassaundra committed Apr 3, 2024
1 parent 00464c2 commit 9af279b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/quake_engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub struct Engine {
impl Engine {
pub fn load(project: Project, options: EngineOptions) -> Result<Self> {
#[cfg(windows)]
nu_ansi_term::enable_ansi_support();
nu_ansi_term::enable_ansi_support().into_diagnostic()?;

let state = Arc::new(RwLock::new(State::new()));

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/help_inspect.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ status.code = 0
stdout = """
Dump build script metadata as JSON
Usage: quake inspect [OPTIONS]
Usage: quake[EXE] inspect [OPTIONS]
Options:
-h, --help Print help
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/help_list.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ status.code = 0
stdout = """
List the available tasks
Usage: quake list [OPTIONS]
Usage: quake[EXE] list [OPTIONS]
Options:
-h, --help Print help
Expand Down

0 comments on commit 9af279b

Please sign in to comment.