fix: accept inferred road widths in workbench

This commit is contained in:
que01 committed 2026-08-14 10:43:47 +08:00
1 parent 3e22a1872e
commit f43a122ff7
3 files changed
+12 -1

No files matched your search

+10
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");