Skip to content

Commit

Permalink
uv/tests: these snapshots look wrong!
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Aug 9, 2024
1 parent d2c0493 commit e599124
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions crates/uv/tests/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1684,13 +1684,14 @@ fn lock_conditional_dependency_extra() -> Result<()> {

// Re-run with `--locked`.
uv_snapshot!(context.filters(), context.lock().arg("--locked"), @r###"
success: true
exit_code: 0
success: false
exit_code: 2
----- stdout -----
----- stderr -----
warning: `uv lock` is experimental and may change without warning
Resolved 7 packages in [TIME]
error: The lockfile at `uv.lock` needs to be updated, but `--locked` was provided. To update the lockfile, run `uv lock`.
"###);

// Install from the lockfile.
Expand Down Expand Up @@ -1719,13 +1720,14 @@ fn lock_conditional_dependency_extra() -> Result<()> {

// Re-run with `--locked`.
uv_snapshot!(context.filters(), context.lock().arg("--locked"), @r###"
success: true
exit_code: 0
success: false
exit_code: 2
----- stdout -----
----- stderr -----
warning: `uv lock` is experimental and may change without warning
Resolved 7 packages in [TIME]
error: The lockfile at `uv.lock` needs to be updated, but `--locked` was provided. To update the lockfile, run `uv lock`.
"###);

// Install from the lockfile.
Expand Down

0 comments on commit e599124

Please sign in to comment.