mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
16 lines
274 B
Ruby
16 lines
274 B
Ruby
|
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
|
||
|
|
||
|
eval(code).should == '10'
|
||
|
end
|
||
|
end
|
||
|
end
|