diff options
author | Stefan Lance <stefan@lances.net> | 2015-07-01 16:29:05 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-05 15:11:19 -0300 |
commit | 3e347af3375f5a4a0acaec2d9800f9597e90b802 (patch) | |
tree | e67d00eaf6408f29d4c51af9d8d5613bd1fd7098 /spec | |
parent | c9960af024a6a4b0cd6bcd5ef3e4120b7f9a4a90 (diff) | |
download | bundler-3e347af3375f5a4a0acaec2d9800f9597e90b802.tar.gz |
Fix deprecation warnings and lack_errors matcher
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/matchers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb index aee6e88d13..186caa03ab 100644 --- a/spec/support/matchers.rb +++ b/spec/support/matchers.rb @@ -3,7 +3,7 @@ module Spec module Matchers RSpec::Matchers.define :lack_errors do match do |actual| - actual.gsub(/(^DEPRECATION:.+)/, "") == "" + actual.gsub(/(^DEPRECATION:.+[\n]?)/, "") == "" end end |