Skip to content

Commit

Permalink
#214 load_it can accept options
Browse files Browse the repository at this point in the history
  • Loading branch information
Suban05 committed Aug 19, 2024
1 parent d87b1b7 commit 95cf8c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test__helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
require 'minitest/autorun'

class Minitest::Test
def load_it(judge, fb)
def load_it(judge, fb, options = Judges::Options.new({ 'repositories' => 'foo/foo' }))
$fb = fb
$global = {}
$local = {}
$judge = judge
$options = Judges::Options.new({ 'repositories' => 'foo/foo' })
$options = options
$loog = Loog::NULL
load(File.join(__dir__, "../judges/#{judge}/#{judge}.rb"))
end
Expand Down

0 comments on commit 95cf8c2

Please sign in to comment.