diff options
Diffstat (limited to 'spec/ruby/command_line/fixtures/string_literal_frozen_comment.rb')
-rw-r--r-- | spec/ruby/command_line/fixtures/string_literal_frozen_comment.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/ruby/command_line/fixtures/string_literal_frozen_comment.rb b/spec/ruby/command_line/fixtures/string_literal_frozen_comment.rb new file mode 100644 index 0000000000..fb84b546c0 --- /dev/null +++ b/spec/ruby/command_line/fixtures/string_literal_frozen_comment.rb @@ -0,0 +1,4 @@ +# frozen_string_literal: true +frozen = "test".frozen? +interned = "test".equal?("test") +puts "frozen:#{frozen} interned:#{interned}" |