summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-07-01 16:29:05 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-07-05 15:11:19 -0300
commit3e347af3375f5a4a0acaec2d9800f9597e90b802 (patch)
treee67d00eaf6408f29d4c51af9d8d5613bd1fd7098 /spec
parentc9960af024a6a4b0cd6bcd5ef3e4120b7f9a4a90 (diff)
downloadbundler-3e347af3375f5a4a0acaec2d9800f9597e90b802.tar.gz
Fix deprecation warnings and lack_errors matcher
Diffstat (limited to 'spec')
-rw-r--r--spec/support/matchers.rb2
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