Skip to content

Commit

Permalink
Make rake test run all tests under test/irb/ directory (#794)
Browse files Browse the repository at this point in the history
I think `rake test` should run all tests under `test/irb/` directory
without the need to update it every time we add a subdirectory under
it. While this means tests under `test/irb/yamatanooroti` will be run
too, without the vterm gem installed they will be skipped anyway.
  • Loading branch information
st0012 authored Nov 29, 2023
1 parent 3c39f13 commit 1b60db3
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 @@ -5,7 +5,7 @@ Rake::TestTask.new(:test) do |t|
t.libs << "test" << "test/lib"
t.libs << "lib"
t.ruby_opts << "-rhelper"
t.test_files = FileList["test/irb/test_*.rb", "test/irb/type_completion/test_*.rb"]
t.test_files = FileList["test/irb/**/test_*.rb"]
end

# To make sure they have been correctly setup for Ruby CI.
Expand Down

0 comments on commit 1b60db3

Please sign in to comment.