diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2018-04-13 15:45:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-13 15:45:07 -0700 |
commit | 4786af0d089f85ec1f14717523b2b4bbcadd18f9 (patch) | |
tree | 159448191002663dc21dcd63ed9b670d56ed2497 /test/spec_deflater.rb | |
parent | 82e99f79e9626b9707f8904b3e06fa2907501806 (diff) | |
parent | 177894feac42893b87ffee8473a2b1899a8ca5f4 (diff) | |
download | rack-4786af0d089f85ec1f14717523b2b4bbcadd18f9.tar.gz |
Merge pull request #1182 from pat/frozen-string-literals
Updates for frozen string literal compatibility.
Diffstat (limited to 'test/spec_deflater.rb')
-rw-r--r-- | test/spec_deflater.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_deflater.rb b/test/spec_deflater.rb index a5e91285..fc159ff1 100644 --- a/test/spec_deflater.rb +++ b/test/spec_deflater.rb @@ -59,7 +59,7 @@ describe Rack::Deflater do # verify body unless options['skip_body_verify'] - body_text = '' + body_text = ''.dup body.each { |part| body_text << part } deflated_body = case expected_encoding |