Skip to content

Commit

Permalink
Enable to specify test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmsnr committed Nov 2, 2020
1 parent ee69310 commit ed26ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end

desc "Run tests"
task :test, :target do |task, argv|
if argv.to_a.size == 0
if argv[:target].nil?
ruby('test/run_test.rb')
else
ruby('test/run_test.rb', "--pattern=#{argv[:target]}")
Expand Down

0 comments on commit ed26ff3

Please sign in to comment.