forked from mirrors/kingfisher
copilot fixes
This commit is contained in:
parent
30b9eba427
commit
327342a1bb
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ fn detects_base64_encoded_secret() -> anyhow::Result<()> {
|
|||
.code(200)
|
||||
.stdout(
|
||||
predicate::str::contains("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")
|
||||
.and(predicate::str::contains("\"encoding\": \"base64\"")),
|
||||
.and(predicate::str::contains("\"encoding\":\"base64\"")),
|
||||
);
|
||||
|
||||
dir.close()?;
|
||||
|
|
@ -111,7 +111,7 @@ fn detects_base64_in_code_with_context_verifier() -> anyhow::Result<()> {
|
|||
.code(200)
|
||||
.stdout(
|
||||
predicate::str::contains("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")
|
||||
.and(predicate::str::contains("\"encoding\": \"base64\"")),
|
||||
.and(predicate::str::contains("\"encoding\":\"base64\"")),
|
||||
);
|
||||
|
||||
dir.close()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue