Skip to content

Commit

Permalink
Add comment and change to starts_with
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Aug 24, 2022
1 parent 2076cfd commit f647412
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# frozen_string_literal: true

if RUBY_VERSION >= "3.1"
# Report test coverage to coveralls for only one Ruby version to avoid
# repeated builds. This also accounts for coveralls_reborn requiring
# RUBY_VERSION >= 2.5.
if RUBY_VERSION.start_with?("3.1")
require "coveralls"
Coveralls.wear!
end
Expand Down

0 comments on commit f647412

Please sign in to comment.