diff --git a/site/test/order.test.ts b/site/test/order.test.ts index 2deca19..7a30c24 100644 --- a/site/test/order.test.ts +++ b/site/test/order.test.ts @@ -9,7 +9,6 @@ test("blocks apart on screen add no constraint, so no false cycle", () => { const list = [desk, box(0, 2, 0.5, 1, 1, 1), box(1, 0, 0.5, 2, 1, 1), box(0, 1, 0.5, 2, 1, 1)]; const drawn = order(list); assert.equal(drawn[0], 0, "the desk is drawn first"); - // C (index 3) covers A (index 1) only from behind A. assert.ok(drawn.indexOf(3) < drawn.indexOf(1)); }); diff --git a/tests/scripts/comments.py b/tests/scripts/comments.py index af3c78f..a85a59e 100755 --- a/tests/scripts/comments.py +++ b/tests/scripts/comments.py @@ -21,6 +21,11 @@ PATTERNS = [ "patches/**/*.patch", "tests/**/*.swift", "apps/*/web/src/**/*.js", + "site/src/**/*.ts", + "site/src/**/*.css", + "site/test/**/*.ts", + "site/video/**/*.py", + "site/video/**/*.sh", ] LINE_COMMENT = { ".rs": re.compile(r"^\s*//[!/]?\s?(.*)$"), @@ -29,6 +34,8 @@ LINE_COMMENT = { ".nsi": re.compile(r"^\s*;\s?(.*)$"), ".swift": re.compile(r"^\s*//\s?(.*)$"), ".js": re.compile(r"^\s*(?://\s?(.*)|/\*\*?\s?(.*?)\s*\*/)$"), + ".ts": re.compile(r"^\s*(?://\s?(.*)|/\*\*?\s?(.*?)\s*\*/)$"), + ".css": re.compile(r"^\s*/\*\s?(.*?)\s*\*/$"), }