Skip to content

Commit

Permalink
Use require, not require_relative, from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewd committed Jul 9, 2022
1 parent 5de53c8 commit 8888e7b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/command/env_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require "test_helper"
require_relative "../../lib/gel/command"
require "gel/command"

class EnvTest < Minitest::Test
def test_env_command
Expand Down
1 change: 1 addition & 0 deletions test/command/help_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require "test_helper"
require "gel/command"

class HelpTest < Minitest::Test
def test_help
Expand Down
1 change: 1 addition & 0 deletions test/command/version_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require "test_helper"
require "gel/command"

class VersionTest < Minitest::Test
def test_version
Expand Down
2 changes: 1 addition & 1 deletion test/sha512_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require "test_helper"
require_relative "../lib/gel/support/sha512"
require "gel/support/sha512"

require "digest/sha2"

Expand Down

0 comments on commit 8888e7b

Please sign in to comment.