Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test: update storage bypass test names and fixture path

Steven Enamakel86cd8035d173
diff --git a/scripts/__tests__/storage-bypass.test.mjs b/scripts/__tests__/storage-bypass.test.mjs
index 556488f11a..3963fe2a5d 100644
--- a/scripts/__tests__/storage-bypass.test.mjs
+++ b/scripts/__tests__/storage-bypass.test.mjs
@@ -142,7 +142,7 @@ test("a new database open fails the check", () => {
);
});
-test("the storage module, tests and allowlisted fallbacks are not flagged", () => {
+test("the storage module, tests and allowlisted sites are not flagged", () => {
const { status } = run(
{
[`${SRC}/storage/driver.rs`]: "fn f() { let c = Connection::open(p); }\n",
@@ -221,7 +221,7 @@ test("a call split across lines is still found", () => {
});
test("a verbatim copy of an allowlisted line is still a finding", () => {
- const file = `${SRC}/security/approval/store.rs`;
+ const file = `${SRC}/security/approval/store_import.rs`;
const line = "let conn = Connection::open(&db_path).with_context(|| {";
const kept = withoutAllowed(file, scan(file, `${line}\n});\n${line}\n});\n`));
assert.deepEqual(