From 6b9e8421357329998be08c9dda946c0caa8d94b3 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 4 Dec 2020 14:56:59 -0800 Subject: [PATCH] Fixed test warnings [skip ci] --- Rakefile | 2 +- test/scroll_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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