Fix small error in two testcases
Pointed out by @Mingun:
6ce97457bf (commitcomment-10548605)
This commit is contained in:
parent
6f2c75f7d8
commit
373f48c10f
|
@ -78,6 +78,6 @@ describe("compiler pass |reportLeftRecursion|", function() {
|
||||||
|
|
||||||
expect(pass).not.toReportError('start = [a-d]*');
|
expect(pass).not.toReportError('start = [a-d]*');
|
||||||
|
|
||||||
expect(pass).not.toReportError('start = "."*');
|
expect(pass).not.toReportError('start = .*');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -92,7 +92,7 @@ describe("compiler pass |reportLeftRecursion|", function() {
|
||||||
|
|
||||||
expect(pass).not.toReportError('start = [a-d] start');
|
expect(pass).not.toReportError('start = [a-d] start');
|
||||||
|
|
||||||
expect(pass).not.toReportError('start = "." start');
|
expect(pass).not.toReportError('start = . start');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue