Skip to content

Commit d375243

Browse files
authored
Update CONTRIBUTING.md
1 parent 86193ec commit d375243

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ In case there is a bug in MRI and the fix will be backported to previous version
179179
If it is not backported or not likely, use `ruby_version_is` instead.
180180
First, file a bug at https://bugs.ruby-lang.org/.
181181
The problem is `ruby_bug` would make non-MRI implementations fail this spec while MRI itself does not pass it, so it should only be used if the bug is/will be fixed and backported.
182-
Otherwise, non-MRI implementations would have to choose between being incompatible with the latest release of MRI to pass the spec or fail the spec, both which make no sense.
182+
Otherwise, non-MRI implementations would have to choose between being incompatible with the latest release of MRI (which has the bug) to pass the spec, or behave the same as the latest release of MRI (which has the bug) and fail the spec, both which make no sense.
183+
184+
IOW, `ruby_bug '#NN', ''...'X.Y' do` is equivalent to `guard_not { RUBY_ENGINE == "ruby" && ruby_version_is ''...'X.Y' } do`.
183185

184186
```ruby
185187
ruby_bug '#13669', ''...'3.2' do

0 commit comments

Comments
 (0)