diff --git a/spec/ruby/language/precedence_spec.rb b/spec/ruby/language/precedence_spec.rb index b122577a752c5b..5a3c2861ce770b 100644 --- a/spec/ruby/language/precedence_spec.rb +++ b/spec/ruby/language/precedence_spec.rb @@ -300,7 +300,7 @@ class FalseClass; undef_method :=~; end # Use variables to avoid warnings from = 1 to = 2 - # These are Range instances, not flip-flop + # These are flip-flop, not Range instances (from..to ? 3 : 4).should == 3 (from...to ? 3 : 4).should == 3 end