Skip to content

Commit e7eb8aa

Browse files
committed
Fix logic for #ruby_bug
1 parent 16b5a0a commit e7eb8aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mspec/guards/bug.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ def initialize(bug, requirement)
55
@bug = bug
66
if String === requirement
77
MSpec.deprecate "ruby_bug with a single version", 'an exclusive range ("2.1"..."2.3")'
8-
@requirement = SpecVersion.new requirement, true
98
super(FULL_RUBY_VERSION, requirement)
9+
@requirement = SpecVersion.new requirement, true
1010
else
1111
super(FULL_RUBY_VERSION, requirement)
1212
end

0 commit comments

Comments
 (0)