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:
parent
d05383812a
commit
9583d2057d
Notes:
git
2021-09-11 08:48:28 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue