Skip to content

Commit 2b8f853

Browse files
committed
Avoid power_assert 3.0 on Ruby 3.0 and older
Ref: test-unit/test-unit#329
1 parent 5a1e04b commit 2b8f853

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ group :development do
1111
gem "test-unit-ruby-core"
1212
gem "all_images", "~> 0" unless RUBY_PLATFORM =~ /java/
1313
gem "simplecov", require: false
14+
15+
if RUBY_VERSION < "3.1."
16+
# Ref: https://github.com/test-unit/test-unit/pull/329
17+
gem 'power_assert', '< 3.0.0'
18+
end
1419
end
1520

1621
group :release do

0 commit comments

Comments
 (0)