diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-23 07:13:59 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-23 07:13:59 +0000 |
| commit | d0a0a9b6b4ddd409044c5e6356782939c541a1da (patch) | |
| tree | dc2b85a1176153dc52ec06e97507a20da821248f /test/ruby/test_system.rb | |
| parent | e197dcb3554aa4a59cfea9712e96cb7d0bc01734 (diff) | |
| download | ruby-d0a0a9b6b4ddd409044c5e6356782939c541a1da.tar.gz ruby-d0a0a9b6b4ddd409044c5e6356782939c541a1da.tar.xz ruby-d0a0a9b6b4ddd409044c5e6356782939c541a1da.zip | |
* lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]
* test/ruby/test_system.rb: num of asserts depended on running dir.
* test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
handle euc-jp. install iconv, uconv or xmlscan.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_system.rb')
| -rw-r--r-- | test/ruby/test_system.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb index d756e4a2d..71eb7ad18 100644 --- a/test/ruby/test_system.rb +++ b/test/ruby/test_system.rb @@ -61,8 +61,8 @@ class TestSystem < Test::Unit::TestCase dir << "/" end - for script in Dir["#{dir}{lib,sample,ext}/**/*.rb"] - assert_nothing_raised(Exception) do + assert_nothing_raised(Exception) do + for script in Dir["#{dir}{lib,sample,ext}/**/*.rb"] valid_syntax? IO::read(script), script end end |
