diff options
Diffstat (limited to 't/listener_names.ru')
-rw-r--r-- | t/listener_names.ru | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/listener_names.ru b/t/listener_names.ru new file mode 100644 index 0000000..edb4e6a --- /dev/null +++ b/t/listener_names.ru @@ -0,0 +1,4 @@ +use Rack::ContentLength +use Rack::ContentType, "text/plain" +names = Unicorn.listener_names.inspect # rely on preload_app=true +run(lambda { |_| [ 200, {}, [ names ] ] }) |