Skip to content

Commit

Permalink
Use test/run.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 7, 2019
1 parent 7cfc96e commit e20426f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_test.rb → test/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

require "pathname"

base_dir = Pathname(__dir__).expand_path
base_dir = Pathname(__dir__).parent.expand_path

lib_dir = base_dir + "lib"
test_dir = base_dir + "test"

$LOAD_PATH.unshift(lib_dir.to_s)

require_relative "test/test_helper"
require_relative "test_helper"

exit(Test::Unit::AutoRunner.run(true, test_dir.to_s))

0 comments on commit e20426f

Please sign in to comment.