Skip to content

Commit

Permalink
Merge pull request #178 from toshimaru/fix-ci-build
Browse files Browse the repository at this point in the history
fix: Fix CI build / CI against Ruby v3.3
  • Loading branch information
toshimaru committed May 17, 2024
2 parents f24235e + bc3de06 commit 7bc4d8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', 'head']
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
gemfile:
- gemfiles/jekyll_3.9.gemfile
- gemfiles/jekyll_4.0.gemfile
Expand Down
3 changes: 2 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ AllCops:
- Rakefile
- Gemfile
require:
- rubocop-performance
- rubocop-minitest
- rubocop-rake
- rubocop-performance

Metrics/MethodLength:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion test/parser/test_ordered_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_ordered_list_subheadings_with_classes_nested_structure
parse_with_ordered_list_and_classes
html = @parser.toc

occurrences = html.scan(/<ol class="sublist-class">/).count
occurrences = html.scan('<ol class="sublist-class">').count

assert_equal(5, occurrences)
end
Expand Down

0 comments on commit 7bc4d8a

Please sign in to comment.