diff --git a/test/plugin/test_in_tail.rb b/test/plugin/test_in_tail.rb index 40b738fdab..26e2add173 100644 --- a/test/plugin/test_in_tail.rb +++ b/test/plugin/test_in_tail.rb @@ -2213,7 +2213,7 @@ def test_EACCES_error_after_setup_watcher 'format' => 'none', }) d = create_driver(config, false) - mock.proxy(d.instance).setup_watcher(anything, anything) do |tw| + mock.proxy(d.instance).setup_watcher(anything, anything, anything) do |tw| FileUtils.chmod(0000, "#{TMP_DIR}/noaccess") tw end