From 703a35298527761eb1dd64acc5b9fccdb11deabb Mon Sep 17 00:00:00 2001 From: David Majda Date: Thu, 6 Aug 2015 16:38:38 +0200 Subject: [PATCH] Change few testcase descriptions Reaction to changes in 130cbcfaa34e61fe0fb38a9f0c0e780d91eb312c. --- spec/unit/compiler/passes/report-infinite-loops.spec.js | 2 +- spec/unit/compiler/passes/report-left-recursion.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/compiler/passes/report-infinite-loops.spec.js b/spec/unit/compiler/passes/report-infinite-loops.spec.js index fac311d..841ad57 100644 --- a/spec/unit/compiler/passes/report-infinite-loops.spec.js +++ b/spec/unit/compiler/passes/report-infinite-loops.spec.js @@ -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([ 'start = a*', 'a "a" = ""' diff --git a/spec/unit/compiler/passes/report-left-recursion.spec.js b/spec/unit/compiler/passes/report-left-recursion.spec.js index e2e4999..f9cfa84 100644 --- a/spec/unit/compiler/passes/report-left-recursion.spec.js +++ b/spec/unit/compiler/passes/report-left-recursion.spec.js @@ -39,7 +39,7 @@ describe("compiler pass |reportLeftRecursion|", function() { 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([ 'start = a start', 'a "a" = ""'