Sha256: 8f1eaf06d79d3d00ef7c6264efd42934e08964298b1bbba7cdd1a4b929da4cd1
Contents?: true
Size: 490 Bytes
Versions: 29
Compression:
Stored size: 490 Bytes
Contents
require 'test/unit' require 'soap/processor' module SOAP class TestGenerator < Test::Unit::TestCase # based on #417, reported by Kou. def test_encode str = "\343\201\217<" g = SOAP::Generator.new g.generate(SOAPElement.new('foo')) assert_equal("<", g.encode_string(str)[-4, 4]) # begin kc_backup = $KCODE.dup $KCODE = 'EUC-JP' assert_equal("<", g.encode_string(str)[-4, 4]) ensure $KCODE = kc_backup end end end end
Version data entries
29 entries across 29 versions & 12 rubygems