Skip to content

Commit 8b4b769

Browse files
committed
[test] avoid "class variable access from toplevel"
1 parent fbef97c commit 8b4b769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ruby/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def self.plugin_output_init(options)
6363

6464
puts "#{__FILE__} using #{TestCase}" if $VERBOSE || defined?(REPORT_PATH)
6565

66-
TestCase.class_eval do
66+
class TestCase
6767

6868
def setup; require 'openssl' end
6969

0 commit comments

Comments
 (0)