1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Test cleanup in binder

This commit is contained in:
Nate Berkopec 2020-03-07 07:42:38 -06:00
parent 395ea8dcc3
commit b2b5789888
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6

View file

@ -147,8 +147,9 @@ class TestBinder < TestBinderBase
@binder.parse tested_paths, @events
stdout = @events.stdout.string
assert stdout.include?(prepared_paths[order[0]]), "\n#{stdout}\n"
assert stdout.include?(prepared_paths[order[1]]), "\n#{stdout}\n"
order.each do |prot|
assert_match prepared_paths[prot], stdout
end
ensure
@binder.close_listeners if order.include?(:unix) && UNIX_SKT_EXIST
end