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-0.15.5 spec/code/parser/string_spec.rb
code-ruby-0.15.4 spec/code/parser/string_spec.rb
code-ruby-0.15.3 spec/code/parser/string_spec.rb
code-ruby-0.15.2 spec/code/parser/string_spec.rb
code-ruby-0.15.0 spec/code/parser/string_spec.rb
code-ruby-0.14.9 spec/code/parser/string_spec.rb
code-ruby-0.14.8 spec/code/parser/string_spec.rb
code-ruby-0.14.6 spec/code/parser/string_spec.rb
code-ruby-0.14.5 spec/code/parser/string_spec.rb
code-ruby-0.14.4 spec/code/parser/string_spec.rb
code-ruby-0.14.3 spec/code/parser/string_spec.rb
code-ruby-0.14.2 spec/code/parser/string_spec.rb
code-ruby-0.14.1 spec/code/parser/string_spec.rb
code-ruby-0.14.0 spec/code/parser/string_spec.rb
code-ruby-0.13.1 spec/code/parser/string_spec.rb
code-ruby-0.13.0 spec/code/parser/string_spec.rb
code-ruby-0.12.0 spec/code/parser/string_spec.rb
code-ruby-0.11.0 spec/code/parser/string_spec.rb
code-ruby-0.10.4 spec/code/parser/string_spec.rb
code-ruby-0.10.3 spec/code/parser/string_spec.rb