fix: accept inferred road widths in workbench

This commit is contained in:
2026-08-14 10:43:47 +08:00
parent 3e22a1872e
commit f43a122ff7
3 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env node
"use strict";
const assert = require("assert");
const fs = require("fs");
const path = require("path");
const html = fs.readFileSync(path.join(__dirname, "workbench", "index.html"), "utf8");
assert.match(html, /id="width" type="number" min="1" step="0\.01"/);
console.log("road workbench tests passed");