summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/xmlrpc/test_webrick_server.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/xmlrpc/test_webrick_server.rb b/test/xmlrpc/test_webrick_server.rb
index d3aa9cd1025..e53cc965c27 100644
--- a/test/xmlrpc/test_webrick_server.rb
+++ b/test/xmlrpc/test_webrick_server.rb
@@ -1,3 +1,5 @@
+# coding: utf-8
+
require 'test/unit'
require 'webrick'
require_relative 'webrick_testing'
@@ -125,5 +127,8 @@ class Test_Webrick < Test::Unit::TestCase
ok, param = @s.call2('test.add', 1, 2, 3)
assert_equal false, ok
assert_equal(-99, param.faultCode)
+
+ # multibyte characters
+ assert_equal "あいうえおかきくけこ", @s.call('test.add', "あいうえお", "かきくけこ")
end
end