This commit is contained in:
2026-08-18 18:11:34 -04:00
parent bbaf47028f
commit 05dab1f18a
263 changed files with 895 additions and 872 deletions
@@ -5,7 +5,7 @@ import { readFile } from 'node:fs/promises'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
import test from 'brittle'
import { bareAwkRun } from '../lib/awk-engine.js'
import { bareAwkRun } from '../lib/engines/awk-engine.js'
const __dirname = dirname(fileURLToPath(import.meta.url))
const srcDir = join(__dirname, '../src')
@@ -24,7 +24,7 @@ test('awk.js exists and wires field parsing', async (t) => {
})
test('awk-engine supports delete arr[key] statement', async (t) => {
const s = await readFile(join(__dirname, '../lib/awk-engine.js'), 'utf8')
const s = await readFile(join(__dirname, '../lib/engines/awk-engine.js'), 'utf8')
t.ok(s.includes("id === 'delete'"))
t.ok(s.includes("case 'delete':"))
})