summaryrefslogtreecommitdiff
path: root/spec/support/matchers.rb
diff options
context:
space:
mode:
authorVictor Koronen <koronen@kth.se>2015-08-08 17:01:11 +0200
committerVictor Koronen <koronen@kth.se>2015-08-14 12:29:44 +0200
commitf88a32c4d83ca0d604315b22f4578cc93502eb1d (patch)
tree4b75650dd9caf9b5a027f4a5a990d54c42e4132a /spec/support/matchers.rb
parent132b95ee70e3e9d3b318429bd53c879a7c503341 (diff)
downloadbundler-f88a32c4d83ca0d604315b22f4578cc93502eb1d.tar.gz
Fix Style/LeadingCommentSpace
Remove some dead code.
Diffstat (limited to 'spec/support/matchers.rb')
-rw-r--r--spec/support/matchers.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index d41ac964f5..6c585ddae4 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -18,8 +18,6 @@ module Spec
args = args.flatten
args = args.first.split(/\s+/) if args.size == 1
- #failure_message_for_should "Expected RUBYOPT to have options #{args.join(" ")}. It was #{ENV["RUBYOPT"]}"
-
match do |actual|
actual = actual.split(/\s+/) if actual.is_a?(String)
args.all? {|arg| actual.include?(arg) } && actual.uniq.size == actual.size