1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

7 commits

Author SHA1 Message Date
naruse
ef33958094 Use require_relative to require local library
* from 1.9 require relative path from the file must use require_relative.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 13:10:46 +00:00
nobu
63a164f32e test: fix test conditions
* test/csv/test_features.rb (TestCSV#test_gzip_reader_bug_fix): test
  only if zlib is available.

* test/csv/test_features.rb (TestCSV#test_gzip_writer_bug_fix): ditto.

* test/open-uri/test_open-uri.rb (TestOpenURI#test_content_encoding):
  ditto.

* test/rexml/test_order.rb (OrderTester#test_more_ordering): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-08 06:50:03 +00:00
usa
0bfa4abd1b * test/rexml/test_order.rb (OrderTester#test_more_ordering): use
GZip::GzReader.open instead of GZip::GzReader.new with File.new.
  fixed a test error on Windows introduced at r33946.

* ChangeLog: mention the causes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-08 04:31:56 +00:00
naruse
9da7920d6b Refix to give the encoding of gzfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 00:43:44 +00:00
naruse
0433134947 Specify external encoding.
When external encoding is not specified, it uses default external
encoding. But it depends the environment. So specify as UTF-8 for
environments whose locale is not UTF-8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 17:28:30 +00:00
kou
146bf4fdaf * test/rexml/: fix fixture data path. All REXML tests are worked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 13:31:16 +00:00
kou
91ed484f92 * test/rexml/: import REXML tests from
http://www.germane-software.com/repos/rexml/trunk/test/.
  Many tests are failed temporary. I'll fix them quickly. Sorry.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 13:14:14 +00:00