spec/write_expectation.rb in conjur-cli-2.1.9 vs spec/write_expectation.rb in conjur-cli-2.2.1
- old
+ new
@@ -25,9 +25,10 @@
end
case message
when String then output.include? message
when Regexp then output.match message
+ when nil then output
else fail("Allowed types for write `message` are String or Regexp, got `#{message.class}`")
end
end
description do