mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
Use #b shortcut instead of #force_encoding (#31059).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -47,7 +47,7 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
|
||||
Encoding.locale_charmap == "ISO-8859-1")
|
||||
|
||||
CHAR_1_UTF8_HEX = 'Ü'
|
||||
CHAR_1_LATIN1_HEX = (+"\xdc").force_encoding('ASCII-8BIT')
|
||||
CHAR_1_LATIN1_HEX = "\xdc".b
|
||||
|
||||
def setup
|
||||
User.current = nil
|
||||
|
||||
Reference in New Issue
Block a user