From 4ac85a65a50bc593f725b2aa250227ac1bbb1135 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 23 Oct 2026 00:19:58 +0200 Subject: [PATCH] Tests: fix a broken string literal in the probe watchdog test Co-Authored-By: Claude Opus 5.5 --- scripts/test-gpu-probe.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/test-gpu-probe.mjs b/scripts/test-gpu-probe.mjs index c15c5f9..328a3df 100644 --- a/scripts/test-gpu-probe.mjs +++ b/scripts/test-gpu-probe.mjs @@ -139,8 +139,7 @@ test("probe watchdog: a child that stays alive but sends nothing is killed and r assert.equal(spawned[0].child.kills, 1, "the hung child is killed exactly once"); assert.equal(spawned.length, 2, "and replaced"); spawned[0].child.emit("exit", 1); - const line = '{"quns":1,"freeMiB":14000,"util3d":1,"engines":4} -'; + const line = '{"quns":1,"freeMiB":14000,"util3d":1,"engines":4}\n'; for (let i = 0; i < 4; i += 1) { await sleep(40); spawned[1].child.stdout.emit("data", line);