This commit is contained in:
Nobody committed 2026-11-12 18:34:33 +08:00
1 parent 5977b1b272
commit 09af3bd8c0
18 files changed
+57 -30

No files matched your search

+1 -2
View File
@@ -30,7 +30,6 @@ import { assertEquals } from "@std/assert";
// async fn() {
// },
// });
import { ripgrep } from "ripgrep";
Deno.test("default config is TOML with an asset base and vars table", async () => {
const config = parseToml(await Deno.readTextFile("./config.toml")) as {
asset_base: string;
@@ -56,7 +55,7 @@ Deno.test("ripgrep test", async () => {
await writer.write(
new TextEncoder().encode("This is a test string with NULL in it."),
);
writer.releaseLock();
await writer.close();
const { code, stdout, stderr } = await child.output();
console.log(`Exit code: ${code}`);
console.log(`stdout: ${new TextDecoder().decode(stdout)}`);