Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Jul 27, 2024
1 parent 846a11e commit dab2f01
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions crates/uv/tests/pip_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,16 @@ fn list_editable_only() {
uv_snapshot!(filters, list_command(&context)
.arg("--editable")
.arg("--exclude-editable"), @r###"
success: true
exit_code: 0
success: false
exit_code: 2
----- stdout -----
----- stderr -----
error: the argument '--editable' cannot be used with '--exclude-editable'
Usage: uv pip list --cache-dir [CACHE_DIR] --editable
For more information, try '--help'.
"###
);
}
Expand Down Expand Up @@ -451,18 +456,6 @@ fn list_format_freeze() {
----- stderr -----
"###
);

uv_snapshot!(filters, list_command(&context)
.arg("--format=freeze")
.arg("--editable")
.arg("--exclude-editable"), @r###"
success: true
exit_code: 0
----- stdout -----
----- stderr -----
"###
);
}

#[test]
Expand Down

0 comments on commit dab2f01

Please sign in to comment.