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:
parent
395ea8dcc3
commit
b2b5789888
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue