1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/language/comment_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
225 B
Ruby
Raw Permalink Normal View History

2020-01-28 14:47:48 -05:00
require_relative '../spec_helper'
describe "The comment" do
2022-04-25 08:53:54 -04:00
it "can be placed between fluent dot now" do
code = <<~CODE
10
# some comment
.to_s
CODE
2020-01-28 14:47:48 -05:00
2022-04-25 08:53:54 -04:00
eval(code).should == '10'
2020-01-28 14:47:48 -05:00
end
end