Sha256: b1867f21a8b663fd1da2a115ab00e16dd3c1b0632cb4e3ad1fd38cee8e9fdb1a

Contents?: true

Size: 350 Bytes

Versions: 70

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

RSpec.describe Code::Parser::String do
  [
    "''",
    '""',
    "'Hello Dorian'",
    '"Hello Dorian"',
    "'Hello \\{name}'",
    '"Hello \\{name}"',
    "'Hello {name}'",
    '"Hello {name}"'
  ].each do |input|
    it "parses #{input}" do
      Code::Parser.parse(input)
    end
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
code-ruby-1.2.5 spec/code/parser/string_spec.rb
code-ruby-1.2.4 spec/code/parser/string_spec.rb
code-ruby-1.2.3 spec/code/parser/string_spec.rb
code-ruby-1.2.2 spec/code/parser/string_spec.rb
code-ruby-1.2.1 spec/code/parser/string_spec.rb
code-ruby-1.1.3 spec/code/parser/string_spec.rb
code-ruby-1.1.1 spec/code/parser/string_spec.rb
code-ruby-1.1.0 spec/code/parser/string_spec.rb
code-ruby-1.0.0 spec/code/parser/string_spec.rb
code-ruby-0.15.16 spec/code/parser/string_spec.rb
code-ruby-0.15.15 spec/code/parser/string_spec.rb
code-ruby-0.15.14 spec/code/parser/string_spec.rb
code-ruby-0.15.13 spec/code/parser/string_spec.rb
code-ruby-0.15.12 spec/code/parser/string_spec.rb
code-ruby-0.15.11 spec/code/parser/string_spec.rb
code-ruby-0.15.10 spec/code/parser/string_spec.rb
code-ruby-0.15.9 spec/code/parser/string_spec.rb
code-ruby-0.15.8 spec/code/parser/string_spec.rb
code-ruby-0.15.7 spec/code/parser/string_spec.rb
code-ruby-0.15.6 spec/code/parser/string_spec.rb