diff --git a/lib/fluent/plugin/in_exec.rb b/lib/fluent/plugin/in_exec.rb index d288f19895..b62025c60f 100644 --- a/lib/fluent/plugin/in_exec.rb +++ b/lib/fluent/plugin/in_exec.rb @@ -45,7 +45,7 @@ class ExecInput < Fluent::Plugin::Input config_param :run_interval, :time, default: nil desc 'The default block size to read if parser requires partial read.' config_param :read_block_size, :size, default: 10240 # 10k - desc 'The encoding to receive the result of the command, especially for none-ascii characters.' + desc 'The encoding to receive the result of the command, especially for non-ascii characters.' config_param :encoding, :string, default: nil attr_reader :parser diff --git a/test/plugin/test_in_exec.rb b/test/plugin/test_in_exec.rb index 788120ce81..f7c9f6d705 100644 --- a/test/plugin/test_in_exec.rb +++ b/test/plugin/test_in_exec.rb @@ -221,7 +221,7 @@ def create_driver(conf) sub_test_case 'encoding' do data(immediate: "") data(run_interval: "run_interval 1") - test 'can handle none-ascii characters' do |additional_setting| + test 'can handle non-ascii characters' do |additional_setting| content = 'ひらがな漢字' d = create_driver %[