summaryrefslogtreecommitdiff
path: root/spec/ruby/language/comment_spec.rb
blob: dd788e681c7441ab9bffd305953ef41fe5d2cdf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require_relative '../spec_helper'

describe "The comment" do
  it "can be placed between fluent dot now" do
    code = <<~CODE
      10
        # some comment
        .to_s
      CODE

    eval(code).should == '10'
  end
end