Skip to content

Commit 346e9d1

Browse files
Watson1978kenhys
andauthored
Use SKIP_TABLE_REGEXP instead
Co-authored-by: Kentaro Hayashi <kenhys@gmail.com>
1 parent 939697f commit 346e9d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/plugin/test_in_sql.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_all_tables
8686
begin
8787
table_names = d.instance.instance_variable_get(:@tables).map(&:table)
8888
assert { table_names.include?("messages") }
89-
assert { !table_names.include?("schema_migrations") }
89+
assert { table_names.none? { |table_name| table_name.match?(Fluent::Plugin::SQLInput::SKIP_TABLE_REGEXP) }}
9090
ensure
9191
d.instance.shutdown
9292
end

0 commit comments

Comments
 (0)