Skip to content

Commit 77ec17c

Browse files
committed
Refactor: Move MM2 constant definition to test_helper.rb
1 parent 47aa6b4 commit 77ec17c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/minimap2_test.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
require "test_helper"
44

5-
MM2 = Minimap2
6-
75
class Minimap2Test < Minitest::Test
86
def test_that_it_has_a_version_number
97
refute_nil ::Minimap2::VERSION

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
44
require "minimap2"
55

6+
MM2 = Minimap2
7+
68
require "minitest/autorun"
79
require "minitest/pride"

0 commit comments

Comments
 (0)