Skip to content

Commit 377c6cc

Browse files
Copilotpelikhan
andauthored
fix: rename l -> line in test for clarity
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 498dc53 commit 377c6cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

actions/setup/js/write_daily_aic_usage_cache.test.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe("write_daily_aic_usage_cache", () => {
9595
await runMain();
9696

9797
const lines = fs.readFileSync(cacheFile, "utf8").trim().split("\n");
98-
const runIds = lines.map(l => JSON.parse(l).run_id);
98+
const runIds = lines.map(line => JSON.parse(line).run_id);
9999
// Stale entry 1001 must be pruned; recent 1002 and new 12345 kept.
100100
expect(runIds).not.toContain(1001);
101101
expect(runIds).toContain(1002);
@@ -109,7 +109,7 @@ describe("write_daily_aic_usage_cache", () => {
109109
await runMain();
110110

111111
const lines = fs.readFileSync(cacheFile, "utf8").trim().split("\n");
112-
const runIds = lines.map(l => JSON.parse(l).run_id);
112+
const runIds = lines.map(line => JSON.parse(line).run_id);
113113
expect(runIds).toContain(2001);
114114
expect(runIds).toContain(12345);
115115
});

0 commit comments

Comments
 (0)