Skip to content

Commit 8594939

Browse files
committed
Use Rake::TestTask for Linter tests
1 parent 532da3e commit 8594939

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Rakefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ namespace :check do
129129
end
130130
end
131131

132-
desc "Run tests for the Linter library"
133-
task :"test-linter" do
134-
ruby "test/test_linter.rb"
132+
require "rake/testtask"
133+
Rake::TestTask.new(:"test-linter") do |t|
134+
t.description = "Run tests for the Linter library"
135+
t.libs = ["test", "lib"]
136+
t.test_files = ["test/test_linter.rb"]
137+
t.verbose = true
135138
end

0 commit comments

Comments
 (0)