##// END OF EJS Templates
scm: strict Ruby 1.9 string test in unit model test....
Toshi MARUYAMA -
r5040:c0515720704e
parent child
Show More
@@ -261,8 +261,8 class ChangesetTest < ActiveSupport::TestCase
261 261 s1 = "\xC2\x80"
262 262 s2 = "\xc3\x82\xc2\x80"
263 263 if s1.respond_to?(:force_encoding)
264 s3 = s1
265 s4 = s2
264 s3 = s1.dup
265 s4 = s2.dup
266 266 s1.force_encoding('ASCII-8BIT')
267 267 s2.force_encoding('ASCII-8BIT')
268 268 s3.force_encoding('ISO-8859-1')
General Comments 0
You need to be logged in to leave comments. Login now