summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-07-20 09:55:43 -0300
committerEuAndreh <eu@euandre.org>2025-07-20 09:55:43 -0300
commita94f98f29cd84bcf4e1f5df9a43f191b576c0841 (patch)
tree1648979ecf5b94bf429f34245cdc0d6fc97f6b2d
parentsrc/paca.mjs: Rename buildDFA -> toDFA (diff)
downloadpaca-a94f98f29cd84bcf4e1f5df9a43f191b576c0841.tar.gz
paca-a94f98f29cd84bcf4e1f5df9a43f191b576c0841.tar.xz
tests/paca.mjs: Add WIP tests
-rw-r--r--tests/paca.mjs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/paca.mjs b/tests/paca.mjs
index 3469129..7b20e88 100644
--- a/tests/paca.mjs
+++ b/tests/paca.mjs
@@ -545,6 +545,7 @@ const test_classStateStep = t => {
});
t.testing("caret as not the first char is taken literally", () => {
+ // FIXME
});
};
@@ -2829,6 +2830,14 @@ const test_interpretMetacharacter = t => {
t.assertEq(interpretMetacharacter(input1, "a"), false);
t.assertEq(interpretMetacharacter(input2, "a"), "ret");
});
+
+ t.testing("caret only matches when at the start of the string", () => {
+ // FIXME
+ });
+
+ t.testing("dollar matches end of string", () => {
+ // FIXME
+ });
};
const test_performTransition = t => {