auto_review_pr.rb: Fix link to Onigmo

This commit is contained in:
Jean Boussier 2026-07-06 11:20:13 +02:00 committed by Jean Boussier
parent 8b22811652
commit d8a2f6cee6
Notes: git 2026-07-06 11:05:09 +00:00
3 changed files with 4 additions and 4 deletions

View File

@ -155,7 +155,7 @@ class AutoReviewPR
comment << "#{UPSTREAM_COMMENT_PREFIX}\n\n"
upstream_repos.each do |upstream_repo, files|
comment << "* https://github.com/ruby/#{upstream_repo}\n"
comment << "* https://github.com/#{upstream_repo}\n"
files.each do |file|
comment << " * #{file}\n"
end

View File

@ -314,7 +314,7 @@ module SyncDefaultGems
return if NO_UPSTREAM.any? {|dst| file.start_with?(dst) }
REPOSITORIES.find do |repo_name, repository|
if repository.mappings.any? {|_src, dst| file.start_with?(dst) }
break repo_name
break repository.upstream
end
end
end

View File

@ -369,8 +369,8 @@ module Test_SyncDefaultGems
lib/net/https.rb
])
expected = {
"un" => %w[lib/un.rb],
"net-http" => %w[lib/net/https.rb],
"ruby/un" => %w[lib/un.rb],
"ruby/net-http" => %w[lib/net/https.rb],
nil => %w[lib/unicode_normalize/normalize.rb lib/unicode_normalize/tables.rb],
}
assert_equal(expected, group)