Sha256: 8e769190457765c52fcda5d529af8202231fc76cda00581ed66f42e909979c71

Contents?: true

Size: 428 Bytes

Versions: 253

Compression:

Stored size: 428 Bytes

Contents

require 'spec_helper'

module ParenthesizedExpressionSpec
  describe "An unadorned expression inside of parentheses" do
    testing_expression '("foo")'
  
    it "should behave as normal" do
      parse('foo').should_not be_nil
    end
  end

  describe "A prefixed-expression inside of parentheses" do
    testing_expression '(!"foo")'
  
    it "should behave as normal" do
      parse('foo').should be_nil
    end
  end
end

Version data entries

253 entries across 208 versions & 31 rubygems

Version Path
challah-0.3.3 vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb
challah-0.3.2 vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb
challah-0.3.1 vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb
challah-0.3.0 vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb
challah-0.2.1 vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb
challah-0.2.0 vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb
treetop-1.4.10 spec/compiler/parenthesized_expression_spec.rb
treetop-1.4.9 spec/compiler/parenthesized_expression_spec.rb
treetop-1.4.8 spec/compiler/parenthesized_expression_spec.rb
treetop-1.4.7 spec/compiler/parenthesized_expression_spec.rb
mail-2.1.5.2 lib/mail/vendor/treetop-1.4.4/spec/compiler/parenthesized_expression_spec.rb
mail-2.1.5.1 lib/mail/vendor/treetop-1.4.4/spec/compiler/parenthesized_expression_spec.rb
mail-2.1.5 lib/mail/vendor/treetop-1.4.3/spec/compiler/parenthesized_expression_spec.rb