diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-13 17:39:28 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-15 15:32:04 +0200 |
commit | 17b9e7b35da731316baa8c3308a5096ef1c62274 (patch) | |
tree | d6b75aea647ee5fa8400410bb295529ca68db08f | |
parent | ccff27da7449d1538ffc83694faffde34f1385a7 (diff) | |
download | bundler-17b9e7b35da731316baa8c3308a5096ef1c62274.tar.gz |
Remove unneeeded inclusion
-rw-r--r-- | spec/support/command_execution.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/support/command_execution.rb b/spec/support/command_execution.rb index deb84bbb2b..b3c289979f 100644 --- a/spec/support/command_execution.rb +++ b/spec/support/command_execution.rb @@ -2,8 +2,6 @@ module Spec CommandExecution = Struct.new(:command, :working_directory, :exitstatus, :stdout, :stderr) do - include RSpec::Matchers::Composable - def to_s c = Shellwords.shellsplit(command.strip).map {|s| s.include?("\n") ? " \\\n <<EOS\n#{s.gsub(/^/, " ").chomp}\nEOS" : Shellwords.shellescape(s) } c = c.reduce("") do |acc, elem| |