Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load RubyGems explicitly for tests of test/irb #879

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/irb/helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "test/unit"
require "pathname"
require "rubygems"

begin
require_relative "../lib/helper"
Expand Down
1 change: 0 additions & 1 deletion test/irb/test_color.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: false
require 'irb/color'
require 'rubygems'
require 'stringio'

require_relative "helper"
Expand Down
1 change: 0 additions & 1 deletion test/irb/test_color_printer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: false
require 'irb/color_printer'
require 'rubygems'
require 'stringio'

require_relative "helper"
Expand Down
1 change: 0 additions & 1 deletion test/irb/test_command.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: false
require "rubygems"
require "irb"

require_relative "helper"
Expand Down
1 change: 0 additions & 1 deletion test/irb/test_context.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: false
require 'tempfile'
require 'irb'
require 'rubygems'

require_relative "helper"

Expand Down
1 change: 0 additions & 1 deletion test/irb/test_tracer.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: false
require 'tempfile'
require 'irb'
require 'rubygems'

require_relative "helper"

Expand Down
1 change: 0 additions & 1 deletion test/irb/test_workspace.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: false
require 'tempfile'
require 'rubygems'
require 'irb'
require 'irb/workspace'
require 'irb/color'
Expand Down
Loading