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
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-htmlentities-0.1.0 vendor/bundle/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-output-icinga-1.0.0 vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-zabbix-0.1.2 vendor/bundle/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-zabbix-0.1.1 vendor/bundle/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-input-fifo-0.9.1 vendor/bundle/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-input-fifo-0.9.0 vendor/bundle/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-input-salesforce-3.0.0 vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
ivanvc-logstash-input-s3-3.1.1.4 vendor/local/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
ivanvc-logstash-input-s3-3.1.1.3 vendor/local/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
ivanvc-logstash-input-s3-3.1.1.2 vendor/local/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-delta-1.1.0 vendor/bundle/jruby/2.2.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-delta-1.0.1 vendor/bundle/jruby/2.2.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-base64-1.0.4 vendor/bundle/jruby/2.2.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-base64-1.0.3 vendor/bundle/jruby/2.2.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-delta-1.0.0 vendor/bundle/jruby/2.2.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-base64-1.0.2 vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-base64-1.0.1 vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb