diff --git a/test/command/test_fluentd.rb b/test/command/test_fluentd.rb index d73f0dd1af..60e0b131ed 100644 --- a/test/command/test_fluentd.rb +++ b/test/command/test_fluentd.rb @@ -570,7 +570,7 @@ def assert_fluentd_fails_to_start(cmdline, *pattern_list, timeout: 20) assert_fluentd_fails_to_start( create_cmdline(conf_path, "-p", File.dirname(plugin_path)), - "in_buggy.rb:5: syntax error, unexpected end-of-input" + /in_buggy.rb:\d+:.+\(SyntaxError\)/ ) end end