Enhance expressionPow to support unary operators on the right-hand side, preserving right-associativity. Added tests to validate the fix for precedence issues. #231
This file contains hidden or 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
| name: Test | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@master | |
| - name: Install Lua | |
| uses: leafo/gh-actions-lua@master | |
| with: | |
| luaVersion: 5.1 | |
| - name: Run test case | |
| run: lua ./tests.lua --Linux --CI |