parent
d7d7e87874
commit
703a352985
|
@ -25,7 +25,7 @@ describe("compiler pass |reportInfiniteLoops|", function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("computes empty string matching correctly", function() {
|
it("computes expressions that always advance on success correctly", function() {
|
||||||
expect(pass).toReportError([
|
expect(pass).toReportError([
|
||||||
'start = a*',
|
'start = a*',
|
||||||
'a "a" = ""'
|
'a "a" = ""'
|
||||||
|
|
|
@ -39,7 +39,7 @@ describe("compiler pass |reportLeftRecursion|", function() {
|
||||||
expect(pass).not.toReportError('start = "" "" "a" start');
|
expect(pass).not.toReportError('start = "" "" "a" start');
|
||||||
});
|
});
|
||||||
|
|
||||||
it("computes empty string matching correctly", function() {
|
it("computes expressions that always advance on success correctly", function() {
|
||||||
expect(pass).toReportError([
|
expect(pass).toReportError([
|
||||||
'start = a start',
|
'start = a start',
|
||||||
'a "a" = ""'
|
'a "a" = ""'
|
||||||
|
|
Loading…
Reference in a new issue