diff options
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/minitest/unit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/lib/minitest/unit.rb b/tool/lib/minitest/unit.rb index 01e396ea24..9f07313e1b 100644 --- a/tool/lib/minitest/unit.rb +++ b/tool/lib/minitest/unit.rb @@ -452,12 +452,14 @@ module MiniTest msg = message(msg) { "Expected path '#{path}' to exist" } assert File.exist?(path), msg end + alias assert_path_exist assert_path_exists alias refute_path_not_exist assert_path_exists def refute_path_exists(path, msg = nil) msg = message(msg) { "Expected path '#{path}' to not exist" } refute File.exist?(path), msg end + alias refute_path_exist refute_path_exists alias assert_path_not_exist refute_path_exists ## |