diff --git a/crates/uv/tests/run.rs b/crates/uv/tests/run.rs index 4a06492eb090b..f30c536cfe4d0 100644 --- a/crates/uv/tests/run.rs +++ b/crates/uv/tests/run.rs @@ -218,6 +218,7 @@ fn run_no_args() -> Result<()> { })?; // Run without specifying any argunments. + #[cfg(not(windows))] uv_snapshot!(context.filters(), context.run(), @r###" success: true exit_code: 0 @@ -239,6 +240,35 @@ fn run_no_args() -> Result<()> { + foo==1.0.0 (from file://[TEMP_DIR]/) "###); + #[cfg(windows)] + uv_snapshot!(context.filters(), context.run(), @r###" + success: true + exit_code: 0 + ----- stdout ----- + Provide a command or script to invoke with `uv run ` or `uv run script.py`. + + The following scripts are available: + + activate.bat + activate.csh + activate.fish + activate.nu + activate.ps1 + activate_this.py + deactivate.bat + pydoc.bat + python.exe + pythonw.exe + + See `uv run --help` for more information. + + ----- stderr ----- + Resolved 1 package in [TIME] + Prepared 1 package in [TIME] + Installed 1 package in [TIME] + + foo==1.0.0 (from file://[TEMP_DIR]/) + "###); + Ok(()) }