diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-24 17:44:39 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-24 17:44:39 +0000 |
| commit | 3454e2b989d541a1b6dfa0e5f6432cce17cc16d7 (patch) | |
| tree | b57bc2afea00aa87978f691526dd7adc1b8a067d /test/ruby/test_env.rb | |
| parent | 67f7cf01b9a126710761dd1f7e3c7a96e74ce621 (diff) | |
| download | ruby-3454e2b989d541a1b6dfa0e5f6432cce17cc16d7.tar.gz ruby-3454e2b989d541a1b6dfa0e5f6432cce17cc16d7.tar.xz ruby-3454e2b989d541a1b6dfa0e5f6432cce17cc16d7.zip | |
* test: assert_raises has been deprecated since a long time ago.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_env.rb')
| -rw-r--r-- | test/ruby/test_env.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb index 0ee702b22..f59fa1435 100644 --- a/test/ruby/test_env.rb +++ b/test/ruby/test_env.rb @@ -36,13 +36,13 @@ class TestEnv < Test::Unit::TestCase assert_equal('foo', ENV['test']) end - assert_raises(TypeError) { + assert_raise(TypeError) { tmp = ENV[1] } - assert_raises(TypeError) { + assert_raise(TypeError) { ENV[1] = 'foo' } - assert_raises(TypeError) { + assert_raise(TypeError) { ENV['test'] = 0 } end |
