diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-11 20:08:03 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-07-07 10:03:15 +0900 |
commit | fd5e314ecc238a73ca70418c9dc7bce1c8141a50 (patch) | |
tree | 68d165b5543bdfe1120a935939914a3e53e1b151 /tool/lib/minitest/unit.rb | |
parent | 596a99ac7faf4e7cc25fedb2b17fa49918323d56 (diff) |
Workaround for make test-tool
Diffstat (limited to 'tool/lib/minitest/unit.rb')
-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 ## |