summaryrefslogtreecommitdiff
path: root/test/fileutils/test_fileutils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/fileutils/test_fileutils.rb')
-rw-r--r--test/fileutils/test_fileutils.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index ca435ed1ff..4951ca47fc 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -741,6 +741,17 @@ class TestFileUtils < Test::Unit::TestCase
assert_file_not_exist 'tmp/tmpdir3'
end
+ def test_remove_entry_cjk_path
+ dir = "tmpdir\u3042"
+ my_rm_rf dir
+
+ Dir.mkdir dir
+ File.write("#{dir}/\u3042.txt", "test_remove_entry_cjk_path")
+
+ remove_entry dir
+ assert_file_not_exist dir
+ end
+
def test_remove_entry_secure
check_singleton :remove_entry_secure