summaryrefslogtreecommitdiffhomepage
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/header_array/config.ru7
-rw-r--r--test/ruby/header_array_empty/config.ru7
-rw-r--r--test/ruby/header_array_nil/config.ru7
3 files changed, 21 insertions, 0 deletions
diff --git a/test/ruby/header_array/config.ru b/test/ruby/header_array/config.ru
new file mode 100644
index 00000000..6401ab4b
--- /dev/null
+++ b/test/ruby/header_array/config.ru
@@ -0,0 +1,7 @@
+app = Proc.new do |env|
+ ['200', {
+ 'x-array' => ['name=value', '', 'value', 'av'],
+ }, []]
+end
+
+run app
diff --git a/test/ruby/header_array_empty/config.ru b/test/ruby/header_array_empty/config.ru
new file mode 100644
index 00000000..df40ffdd
--- /dev/null
+++ b/test/ruby/header_array_empty/config.ru
@@ -0,0 +1,7 @@
+app = Proc.new do |env|
+ ['200', {
+ 'x-array' => [],
+ }, []]
+end
+
+run app
diff --git a/test/ruby/header_array_nil/config.ru b/test/ruby/header_array_nil/config.ru
new file mode 100644
index 00000000..04550c8d
--- /dev/null
+++ b/test/ruby/header_array_nil/config.ru
@@ -0,0 +1,7 @@
+app = Proc.new do |env|
+ ['200', {
+ 'x-array' => [nil],
+ }, []]
+end
+
+run app