aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basic.spec.ts1
-rw-r--r--tests/parser.spec.ts6
2 files changed, 1 insertions, 6 deletions
diff --git a/tests/basic.spec.ts b/tests/basic.spec.ts
index 6fb5921..dfa5e40 100644
--- a/tests/basic.spec.ts
+++ b/tests/basic.spec.ts
@@ -130,7 +130,6 @@ describe('Basic tests', () => {
it('should match sequence of matchers', () => {
expect(
matchAll(/ [seperator true], [id \s\T]+ /, [
- // FIXME: Sequence doesn't work with Quantifiers
{ seperator: true },
{ id: '1' },
{ id: '2' },
diff --git a/tests/parser.spec.ts b/tests/parser.spec.ts
index 6c773d6..8a53faf 100644
--- a/tests/parser.spec.ts
+++ b/tests/parser.spec.ts
@@ -4,14 +4,10 @@ import {
whitespace,
whitespaces0,
delimited,
- sepBy1,
- symbol,
} from '../src/parser/utils'
import { parser } from '../src/parser'
import { none, some } from 'fp-ts/Option'
import { Expr, Literal } from '../src/types'
-import { jlog } from '../src/utils'
-import { parse } from 'fp-ts/lib/Json'
const wrap = (e: Expr) => right([[none, e, none], ''])
const grouped = (l: Expr[]) => wrap(Expr.Group({ exprs: l }))
@@ -88,7 +84,7 @@ describe('Parser', () => {
exprs: [
Expr.AnyString(),
Expr.Group({ exprs: [Expr.AnyBool(), Expr.Truthy()] }),
- ]
+ ],
}),
Expr.AnyNumber(),
]),