Skip to content

Commit

Permalink
Check for errors in error stream
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jul 31, 2022
1 parent 0c0d40d commit 7b0f780
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bundler/spec/install/gems/resolving_spec.rb
Expand Up @@ -216,7 +216,7 @@
gem 'rack'
G

expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(the_bundle).to include_gems("rack 1.2")
end

Expand All @@ -237,7 +237,7 @@
gem 'rack'
G

expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(the_bundle).to include_gems("rack 1.2")
end

Expand Down Expand Up @@ -329,7 +329,7 @@
gem 'foo1'
G

expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(the_bundle).to include_gems("rack 1.2")
end

Expand All @@ -353,8 +353,8 @@
G
end

expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(out).to_not include("rack-1.2-#{Bundler.local_platform} requires ruby version > 9000")
expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000")
expect(err).to_not include("rack-1.2-#{Bundler.local_platform} requires ruby version > 9000")
expect(the_bundle).to include_gems("rack 1.2")
end
end
Expand Down

0 comments on commit 7b0f780

Please sign in to comment.