diff --git a/test/plugin/test_base.rb b/test/plugin/test_base.rb index 479ecc49f6..e6062a163b 100644 --- a/test/plugin/test_base.rb +++ b/test/plugin/test_base.rb @@ -108,7 +108,7 @@ class FluentPluginBaseTest::DummyPlugin2 < Fluent::Plugin::TestBase @p.extend m assert_equal [], logger.logs - ret = @p.string_safe_encoding("abc\xff.\x01f"){|s| s.split(/\./) } + ret = @p.string_safe_encoding("abc\xff.\x01f"){|s| s.split(".") } assert_equal ['abc?', "\u0001f"], ret assert_equal 1, logger.logs.size assert{ logger.logs.first.include?("invalid byte sequence is replaced in ") }