mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 19:41:20 -05:00
test(cli): check the Go input budget recovery flag (#14672)
This commit is contained in:
@@ -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