Skip to content

Commit

Permalink
Fix a build failure on ruby 3.2.0dev (2022-10-20)
Browse files Browse the repository at this point in the history
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 <ashie@clear-code.com>
  • Loading branch information
ashie committed Oct 20, 2022
1 parent d005002 commit 8f5274c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/command/test_fluentd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f5274c

Please sign in to comment.