Sha256: 663b2de3c77d83fee2302f93e2ae13a8b1eeb75d18c4e1df3bc4cccf5dc64716

Contents?: true

Size: 176 Bytes

Versions: 12

Compression:

Stored size: 176 Bytes

Contents

require "spec_helper"

describe "Strings" do
  it "parses %[] strings" do
    opal_parse('%[]').should == [:str, '']
    opal_parse('%[foo]').should == [:str, 'foo']
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opal-0.5.5 spec/opal/parser/string_spec.rb
opal-0.5.4 spec/opal/parser/string_spec.rb
opal-0.5.2 spec/opal/parser/string_spec.rb
opal-0.5.0 spec/opal/parser/string_spec.rb
opal-0.4.4 spec/parser/string_spec.rb
opal-0.4.3 spec/parser/string_spec.rb
opal-0.4.2 spec/parser/string_spec.rb
opal-0.4.1 spec/parser/string_spec.rb
opal-0.4.0 spec/parser/string_spec.rb
opal-0.3.44 spec/parser/string_spec.rb
opal-0.3.43 spec/parser/string_spec.rb
opal-0.3.42 spec/grammar/string_spec.rb