mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 09:56:23 +00:00
test(cli): check the Go input budget recovery flag (#14672)
This commit is contained in:
1 parent
155715942e
commit
bcaf6056a8
1 file changed
+6
-1
@@ -85,7 +85,12 @@ exit 1
|
||||
expect(output.json).toMatchObject({
|
||||
details: { limit: { parameter: recovery, cli_flag: cliFlag } },
|
||||
});
|
||||
expect(refusal.remediation.action).not.toContain("--");
|
||||
if (command === "inspect-go-binary") {
|
||||
expect(refusal.remediation.action).toContain(cliFlag);
|
||||
expect(refusal.remediation.action).toContain(`rea ${command}`);
|
||||
} else {
|
||||
expect(refusal.remediation.action).not.toContain("--");
|
||||
}
|
||||
}
|
||||
expect(refusal.remediation.action).not.toMatch(
|
||||
/allowance for the evidence reply/u,
|
||||
|
||||
Reference in new issue
Block a user