diff options
author | Hiroshi SHIBATA <[email protected]> | 2021-05-11 20:08:03 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-05-11 20:08:03 +0900 |
commit | 010bb0883e67f9f4c8e609266e22c0a12163549a (patch) | |
tree | 11a61a9f0667a2a350b73ca94548430bf787ddc6 | |
parent | bb8a759f6b0156cb4752cf8cc0ca506b3e8dccec (diff) |
Workaround for make test-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 252ca70098..6097dc36d7 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 ## |