diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 04:02:04 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 04:02:04 +0000 |
commit | 66141d47d79f986951068d538b3972d14e7476d4 (patch) | |
tree | 7140459bd8ff11ca621be57d6afc0beb20cf1346 /test/ruby/envutil.rb | |
parent | 41e5fdb20f6bfa9fb62af2edf029a84f74ac970f (diff) | |
download | ruby-66141d47d79f986951068d538b3972d14e7476d4.tar.gz |
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/envutil.rb')
-rw-r--r-- | test/ruby/envutil.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index d6f46f4401..3e04f55c0c 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -225,11 +225,11 @@ module Test assert(1.0/f == -Float::INFINITY, "#{f} is not -0.0") end - def file_assertion - FileAssertion + def assert_file + AssertFile end - class << (FileAssertion = Object.new) + class << (AssertFile = Object.new) include Assertions def assert_file_predicate(predicate, *args) if /\Anot_/ =~ predicate |