diff options
| author | EuAndreh <eu@euandre.org> | 2025-07-20 09:55:43 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-07-20 09:55:43 -0300 |
| commit | a94f98f29cd84bcf4e1f5df9a43f191b576c0841 (patch) | |
| tree | 1648979ecf5b94bf429f34245cdc0d6fc97f6b2d | |
| parent | src/paca.mjs: Rename buildDFA -> toDFA (diff) | |
| download | paca-a94f98f29cd84bcf4e1f5df9a43f191b576c0841.tar.gz paca-a94f98f29cd84bcf4e1f5df9a43f191b576c0841.tar.xz | |
tests/paca.mjs: Add WIP tests
| -rw-r--r-- | tests/paca.mjs | 9 |
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 => { |
