Skip to content

Commit

Permalink
Merge pull request #83 from yui-knk/trailing_spaces
Browse files Browse the repository at this point in the history
Remove trailing spaces
  • Loading branch information
yui-knk authored Aug 16, 2023
2 parents 5e2803b + e195d70 commit bf67829
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
bundler-cache: true
- run: bundle install
- run: bundle exec rspec
check-misc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
# Copy from https://github.com/ruby/ruby/blob/089227e94823542acfdafa68541d330eee42ffea/.github/workflows/check_misc.yml#L27
- name: Check for trailing spaces
run: |
git grep -I -n '[ ]$' -- '*.rb' '*.[chy]' '*.rs' && exit 1 || :
git grep -n '^[ ][ ]*$' -- '*.md' && exit 1 || :
steep-check:
runs-on: ubuntu-20.04
strategy:
Expand Down
2 changes: 1 addition & 1 deletion lib/lrama/counterexamples/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ def transition?
def production?
true
end
end
end
end
end
2 changes: 1 addition & 1 deletion spec/lrama/counterexamples_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@
#
# '\n' shift, and go to state 6
# '\n' reduce using rule 3 (expr)
#
#
# '+' reduce using rule 3 (expr)
# '+' reduce using rule 6 (opt_nl)
state_10 = states.states[10]
Expand Down

0 comments on commit bf67829

Please sign in to comment.