Merged r23252 from trunk to 6.0-stable (#41728).

git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23253 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-11-11 20:47:37 +00:00
parent 16524b7f36
commit 32bcc5903e
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ source 'https://rubygems.org'
ruby '>= 3.1.0', '< 3.4.0'
gem 'rails', '7.2.2'
gem 'rouge', '~> 4.2'
gem 'rouge', '~> 4.5'
gem 'mini_mime', '~> 1.1.0'
gem "actionpack-xml_parser"
gem 'roadie-rails', '~> 3.2.0'

View File

@@ -24,7 +24,7 @@ class Redmine::SyntaxHighlighting::RougeTest < ActiveSupport::TestCase
to_test = {
'application.js' => true,
'Gemfile' => true,
'HELLO.CBL' => false, # Rouge does not support COBOL
'HELLO.abc' => false,
'HELLO.C' => true
}
to_test.each do |filename, expected|