summaryrefslogtreecommitdiff
path: root/spec/ruby/language/comment_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/comment_spec.rb')
-rw-r--r--spec/ruby/language/comment_spec.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/spec/ruby/language/comment_spec.rb b/spec/ruby/language/comment_spec.rb
index 690e844dc0..dd788e681c 100644
--- a/spec/ruby/language/comment_spec.rb
+++ b/spec/ruby/language/comment_spec.rb
@@ -1,15 +1,13 @@
require_relative '../spec_helper'
describe "The comment" do
- ruby_version_is "2.7" do
- it "can be placed between fluent dot now" do
- code = <<~CODE
- 10
- # some comment
- .to_s
- CODE
+ it "can be placed between fluent dot now" do
+ code = <<~CODE
+ 10
+ # some comment
+ .to_s
+ CODE
- eval(code).should == '10'
- end
+ eval(code).should == '10'
end
end