##// END OF EJS Templates
scm: mercurial: add unit adapter test of default path_encoding is UTF-8 (#2664)....
Toshi MARUYAMA -
r5749:c9a3d925ca53
parent child
Show More
@@ -332,6 +332,21 begin
332 332 end
333 333 end
334 334
335 def test_path_encoding_default_utf8
336 adpt1 = Redmine::Scm::Adapters::MercurialAdapter.new(
337 REPOSITORY_PATH
338 )
339 assert_equal "UTF-8", adpt1.path_encoding
340 adpt2 = Redmine::Scm::Adapters::MercurialAdapter.new(
341 REPOSITORY_PATH,
342 nil,
343 nil,
344 nil,
345 ""
346 )
347 assert_equal "UTF-8", adpt2.path_encoding
348 end
349
335 350 private
336 351
337 352 def test_hgversion_for(hgversion, version)
General Comments 0
You need to be logged in to leave comments. Login now