Skip to content

Commit cfcd515

Browse files
committed
Avoid use of require_relative since we still support 1.8.7.
Thanks @joshuaflanagan for pointing this out.
1 parent f254bf4 commit cfcd515

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+42
-42
lines changed

test/blocking_commands_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/blocking_commands"
55

66
class TestBlockingCommands < Test::Unit::TestCase

test/command_map_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44

55
class TestCommandMap < Test::Unit::TestCase
66

test/commands_on_hashes_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/hashes"
55

66
class TestCommandsOnHashes < Test::Unit::TestCase

test/commands_on_lists_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/lists"
55

66
class TestCommandsOnLists < Test::Unit::TestCase

test/commands_on_sets_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/sets"
55

66
class TestCommandsOnSets < Test::Unit::TestCase

test/commands_on_sorted_sets_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/sorted_sets"
55

66
class TestCommandsOnSortedSets < Test::Unit::TestCase

test/commands_on_strings_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/strings"
55

66
class TestCommandsOnStrings < Test::Unit::TestCase

test/commands_on_value_types_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/value_types"
55

66
class TestCommandsOnValueTypes < Test::Unit::TestCase

test/connection_handling_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44

55
class TestConnectionHandling < Test::Unit::TestCase
66

test/distributed_blocking_commands_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: UTF-8
22

3-
require_relative "helper"
3+
require File.expand_path("helper", File.dirname(__FILE__))
44
require "lint/blocking_commands"
55

66
class TestDistributedBlockingCommands < Test::Unit::TestCase

0 commit comments

Comments
 (0)