-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an error for `Lrama::Grammar::ParameterizingRule::Rhs#resolve_use…
…r_code` when multiple execute method ``` 1) integration user defined parameterizing rules prints messages corresponding to rules Failure/Error: expect(out).to eq(expected) expected: "(2, 3)\n(2, 3)\n(-2, -1)\npair even odd: 5\n(1, 0)\n(1, 0)\n(-2, -1)\npair odd even: 1\n" got: "(2, 3)\n(3, 3)\n(-2, -1)\npair even odd: 5\n(1, 0)\n(0, 0)\n(-2, -1)\npair odd even: 1\n" (compared using ==) Diff: @@ -1,9 +1,9 @@ (2, 3) -(2, 3) +(3, 3) (-2, -1) pair even odd: 5 (1, 0) -(1, 0) +(0, 0) (-2, -1) pair odd even: 1 # ./spec/lrama/integration_spec.rb:46:in `test_parser' # ./spec/lrama/integration_spec.rb:109:in `block (3 levels) in <top (required)>' ```
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters