mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
"euc-jp" might not be in supported encoding name list. [ruby-talk:88650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4a663be97e
commit
53ebcbf733
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Dec 23 11:08:34 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
|
||||
"euc-jp" might not be in supported encoding name list.
|
||||
[ruby-talk:88650]
|
||||
|
||||
Tue Dec 23 06:10:31 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* lib/webrick/cgi.rb (CGI): add support for mod_ruby.
|
||||
|
|
|
@ -11,7 +11,12 @@ class TestEmptyCharset < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_wsdl
|
||||
xml = WSDL::XMLSchema::Parser.new.parse(File.open(@file) { |f| f.read })
|
||||
begin
|
||||
xml = WSDL::XMLSchema::Parser.new.parse(File.open(@file) { |f| f.read })
|
||||
rescue Errno::EINVAL
|
||||
# unsupported encoding
|
||||
return
|
||||
end
|
||||
assert_equal(WSDL::XMLSchema::Schema, xml.class)
|
||||
assert_equal(0, xml.collect_elements.size)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue