From 8f5274c46e97d573010e096f7279fee25ca7fa5c Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Thu, 20 Oct 2022 15:36:24 +0900 Subject: [PATCH] Fix a build failure on ruby 3.2.0dev (2022-10-20) The expected error massage pattern was ``` in_buggy.rb:5: syntax error, unexpected end-of-input, expecting ``` but the actual error message on Ruby 3.2 is ``` in_buggy.rb:5: syntax error, unexpected end-of-input (SyntaxError) ``` Signed-off-by: Takuro Ashie --- test/command/test_fluentd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/command/test_fluentd.rb b/test/command/test_fluentd.rb index 8845fc3ea8..461e19ef1b 100644 --- a/test/command/test_fluentd.rb +++ b/test/command/test_fluentd.rb @@ -523,7 +523,7 @@ def assert_fluentd_fails_to_start(cmdline, *pattern_list, timeout: 10) assert_fluentd_fails_to_start( create_cmdline(conf_path, "-p", File.dirname(plugin_path)), - "in_buggy.rb:5: syntax error, unexpected end-of-input, expecting" + "in_buggy.rb:5: syntax error, unexpected end-of-input" ) end end