test: update goose-cli redaction test to explicit sentinel
This commit is contained in:
1 parent
cd30a49dcc
commit
65907f4ee5
1 file changed
+3
-1
@@ -61,7 +61,9 @@ test("process logging redacts only prompts and trusted validation commands", ()
|
|||||||
"[goose prompt: 13 chars]"
|
"[goose prompt: 13 chars]"
|
||||||
]);
|
]);
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
redactProcessArgs(["run", "sh", "-lc", "npm ci && npm test"], "isolated repository validation"),
|
redactProcessArgs(["run", "sh", "-lc", "npm ci && npm test"], "isolated repository validation", {
|
||||||
|
redactLastAsValidationCommand: true
|
||||||
|
}),
|
||||||
["run", "sh", "-lc", "[validation command: 18 chars]"]
|
["run", "sh", "-lc", "[validation command: 18 chars]"]
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user