Skip to content

Commit

Permalink
Load rubygems explicitly for tests of test/irb
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 19, 2024
1 parent c14d295 commit 1dca87c
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 6 deletions.
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

0 comments on commit 1dca87c

Please sign in to comment.