test/unit/util/test_query.rb in sup-1.0 vs test/unit/util/test_query.rb in sup-1.1
- old
+ new
@@ -28,10 +28,10 @@
# xapian 1.4 internally handles this bad input
assert true
else
# xapian 1.2 doesn't handle this bad input, so we do
assert_raises Redwood::Util::Query::QueryDescriptionError do
- desc = Redwood::Util::Query.describe (query)
+ _desc = Redwood::Util::Query.describe (query)
end
end
assert_raises Encoding::CompatibilityError do
_ = life + query.description