summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/errors_puts_int
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/errors_puts_int')
-rw-r--r--test/ruby/errors_puts_int/config.ru6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/errors_puts_int/config.ru b/test/ruby/errors_puts_int/config.ru
new file mode 100644
index 00000000..bc1e664a
--- /dev/null
+++ b/test/ruby/errors_puts_int/config.ru
@@ -0,0 +1,6 @@
+app = Proc.new do |env|
+ env['rack.errors'].puts(1234567890)
+ ['200', {'Content-Length' => '0'}, ['']]
+end
+
+run app