()
| 129 | |
| 130 | #[test] |
| 131 | fn code_without_dry_run_fails_safely() { |
| 132 | let mut cmd = psign(); |
| 133 | cmd.args([ |
| 134 | "code", |
| 135 | "tests/fixtures/package-signing/unsigned/sample.nupkg", |
| 136 | ]) |
| 137 | .assert() |
| 138 | .failure() |
| 139 | .stderr(predicate::str::contains("requires exactly one signer")); |
| 140 | } |
| 141 | |
| 142 | #[test] |
| 143 | fn code_signs_top_level_nupkg_with_local_cert_key() { |