diff options
author | Matt Gleeson <matt@gleeson.org> | 2013-07-18 17:12:56 -0700 |
---|---|---|
committer | Matt Gleeson <mgleeson@atlassian.com> | 2013-07-18 17:14:12 -0700 |
commit | 6676279fd29e6692908a9f057ad596c02a2ee79f (patch) | |
tree | c563d5834fa2bd32573aca106ed5cdbff4211b1b | |
parent | c0c643085d730d182748ee93941103bac5979af7 (diff) | |
download | chef-zero-6676279fd29e6692908a9f057ad596c02a2ee79f.tar.gz |
fixup end_range typos
-rw-r--r-- | lib/chef_zero/solr/solr_parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/solr/solr_parser.rb b/lib/chef_zero/solr/solr_parser.rb index 6cf955e..e237025 100644 --- a/lib/chef_zero/solr/solr_parser.rb +++ b/lib/chef_zero/solr/solr_parser.rb @@ -142,7 +142,7 @@ module ChefZero right = next_token parse_error(right, "Expected left term in range query") if !right end_range = next_token - parse_error(right, "Expected end range '#{expected_end_range}") if !['{', '['].include?(end_range) + parse_error(right, "Expected end range '#{end_range}") if !['}', ']'].include?(end_range) Query::RangeQuery.new(left, right, token == '[', end_range == ']') elsif token == '(' |