Skip to content

Commit 183c2ad

Browse files
committed
test: omit redundant message assert
It is impossible to fetch Test::Driver::Filter (d.logs) in this context. (Already similar functionality was tested with test "obsolete plugins", so it is enough) Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent 1e05fa0 commit 183c2ad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/plugin/test_filter_obsolete_plugins.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ class ObsoletePluginsFilterTest < Test::Unit::TestCase
5656
ex = assert_raise(Fluent::ConfigError) do
5757
create_driver(CONFIG + "raise_error yes")
5858
end
59-
expected_logs = [
60-
"#{@time} [warn]: fluent-plugin-tail-multiline is obsolete: Merged in in_tail in Fluentd v0.10.45. [fluent/fluentd#269](https://github.com/fluent/fluentd/issues/269)\n",
61-
"#{@time} [warn]: fluent-plugin-hostname is obsolete: Use [filter\\_record\\_transformer](http://docs.fluentd.org/v0.12/articles/filter_record_transformer) instead.\n"
62-
]
63-
assert_equal(expected_logs, $log.logs)
6459
assert_equal("Detected obsolete plugins", ex.message)
6560
end
6661

0 commit comments

Comments
 (0)