Skip to content

Commit

Permalink
Test for TruffleRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jan 11, 2024
1 parent 8bbf5bb commit 5d32853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
test:
needs: ruby-versions
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ubuntu-latest, macos-latest, windows-latest]
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def self.can_parse_by_name file_name
case mode = check_modeline(file_name)
when nil, 'rdoc' then # continue
else
raise "#{mode.inspect} should be a String" unless String === mode
RDoc::Parser.parsers.find { |_, p| return p if mode.casecmp?(p.name[/\w+\z/]) }
return nil
end
Expand Down

0 comments on commit 5d32853

Please sign in to comment.