diff --git a/Rakefile b/Rakefile index d461308..48f9e8a 100644 --- a/Rakefile +++ b/Rakefile @@ -5,7 +5,7 @@ task default: :test Rake::TestTask.new do |t| t.libs << "test" t.pattern = "test/**/*_test.rb" - t.warning = false + t.warning = false # for elasticsearch and tests end # to test in parallel, uncomment and run: diff --git a/test/scroll_test.rb b/test/scroll_test.rb index 8c3ff77..c16d9aa 100644 --- a/test/scroll_test.rb +++ b/test/scroll_test.rb @@ -59,7 +59,7 @@ class ScrollTest < Minitest::Test error = assert_raises Searchkick::Error do products.scroll end - assert_match /Pass .+ option/, error.message + assert_match(/Pass .+ option/, error.message) end def test_block -- libgit2 0.21.0