aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/envutil.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/envutil.rb')
-rw-r--r--test/ruby/envutil.rb6
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