@@ -334,6 +334,21 begin | |||
|
334 | 334 | end |
|
335 | 335 | end |
|
336 | 336 | |
|
337 | def test_path_encoding_default_utf8 | |
|
338 | adpt1 = Redmine::Scm::Adapters::GitAdapter.new( | |
|
339 | REPOSITORY_PATH | |
|
340 | ) | |
|
341 | assert_equal "UTF-8", adpt1.path_encoding | |
|
342 | adpt2 = Redmine::Scm::Adapters::GitAdapter.new( | |
|
343 | REPOSITORY_PATH, | |
|
344 | nil, | |
|
345 | nil, | |
|
346 | nil, | |
|
347 | "" | |
|
348 | ) | |
|
349 | assert_equal "UTF-8", adpt2.path_encoding | |
|
350 | end | |
|
351 | ||
|
337 | 352 | private |
|
338 | 353 | |
|
339 | 354 | def test_scm_version_for(scm_command_version, version) |
General Comments 0
You need to be logged in to leave comments.
Login now