diff options
Diffstat (limited to 'test/rdoc/test_rdoc_generator_darkfish.rb')
-rw-r--r-- | test/rdoc/test_rdoc_generator_darkfish.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_generator_darkfish.rb b/test/rdoc/test_rdoc_generator_darkfish.rb index d1c2f66665..08c14f8d57 100644 --- a/test/rdoc/test_rdoc_generator_darkfish.rb +++ b/test/rdoc/test_rdoc_generator_darkfish.rb @@ -92,7 +92,7 @@ class TestRDocGeneratorDarkfish < RDoc::TestCase assert_file 'js/search_index.js' encoding = if Object.const_defined? :Encoding then - Regexp.escape Encoding.default_external.name + Regexp.escape Encoding::UTF_8.name else Regexp.escape 'UTF-8' end |