Skip to content

Commit

Permalink
Merge pull request fluent#2833 from kenrota/add_assertions_for_out_co…
Browse files Browse the repository at this point in the history
…py_plugin_test

Add assertions for `outputs` in out_copy plugin test
  • Loading branch information
repeatedly authored Feb 20, 2020
2 parents c9506c9 + e2b5133 commit fa865ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/plugin/test_out_copy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def test_configure_with_deep_copy_and_use_shallow_copy_mode
])

outputs = d.instance.outputs
assert_equal 1, outputs.size
assert_equal Fluent::Plugin::TestOutput, outputs[0].class
assert_equal "c0", outputs[0].name
assert_true d.instance.deep_copy
assert_equal :shallow, d.instance.copy_mode
end
Expand Down

0 comments on commit fa865ce

Please sign in to comment.