MCPcopy Create free account
hub / github.com/Devolutions/psign / code_without_dry_run_fails_safely

Function code_without_dry_run_fails_safely

tests/code_command.rs:131–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130#[test]
131fn 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]
143fn code_signs_top_level_nupkg_with_local_cert_key() {

Callers

nothing calls this directly

Calls 1

psignFunction · 0.70

Tested by

no test coverage detected