Commit 22927de77c0e2209d00a9cc4c66f8f1f986cd7b8

Authored by Andrew Kane
1 parent 53bc8892

Fixed test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/where_test.rb
... ... @@ -40,7 +40,7 @@ class WhereTest < Minitest::Test
40 40 assert_search "product", ["Product A", "Product B"], where: {store_id: -Float::INFINITY..2}
41 41 if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.6.0")
42 42 # use eval to prevent parse error
43   - assert_search "product", ["Product C", "Product D"], where: {store_id: 3..eval("0..")}
  43 + assert_search "product", ["Product C", "Product D"], where: {store_id: eval("3..")}
44 44 end
45 45  
46 46 # or
... ...