1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Added missing Assertions for assert_file_predicate

This commit is contained in:
Hiroshi SHIBATA 2021-09-11 06:52:09 +09:00
parent d05383812a
commit 9583d2057d
Notes: git 2021-09-11 08:48:28 +09:00

View file

@ -609,6 +609,7 @@ eom
end
class << (AssertFile = Struct.new(:failure_message).new)
include Assertions
include CoreAssertions
def assert_file_predicate(predicate, *args)
if /\Anot_/ =~ predicate