summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Gable <ziggy@ignition-project.com>2020-03-23 15:01:15 -0700
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-03-25 12:37:11 +1300
commit10d0e24ed773d2360bb4b35db6441c01142dfefd (patch)
tree22be41a9a1a5c7b91398e9cf3af4fafdb5dd06cb
parent6196377654b7ff7ce7abaecea62bb285d77d53aa (diff)
downloadrack-10d0e24ed773d2360bb4b35db6441c01142dfefd.tar.gz
Don't ary.inspect in the lint assertions
-rwxr-xr-x[-rw-r--r--]lib/rack/lint.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb
index 16b5feea..67493af4 100644..100755
--- a/lib/rack/lint.rb
+++ b/lib/rack/lint.rb
@@ -48,10 +48,10 @@ module Rack
## and returns an Array of exactly three values:
ary = @app.call(env)
- assert("response #{ary.inspect} is not an Array , but #{ary.class}") {
+ assert("response is not an Array, but #{ary.class}") {
ary.kind_of? Array
}
- assert("response array #{ary.inspect} has #{ary.size} elements instead of 3") {
+ assert("response array has #{ary.size} elements instead of 3") {
ary.size == 3
}