diff options
author | Dillon Welch <daw0328@gmail.com> | 2018-04-13 21:48:52 -0700 |
---|---|---|
committer | Dillon Welch <daw0328@gmail.com> | 2018-04-13 22:11:19 -0700 |
commit | 4a2b1ecdcb8cac5a5ebf4d6829b973759e9ba9d8 (patch) | |
tree | 62572f49993c5b06cd600fb71a952850bfe52e0b /test/spec_deflater.rb | |
parent | 4786af0d089f85ec1f14717523b2b4bbcadd18f9 (diff) | |
download | rack-4a2b1ecdcb8cac5a5ebf4d6829b973759e9ba9d8.tar.gz |
Add frozen_string_literal: true to remaining files
See https://github.com/rack/rack/issues/1243 for history of this task
Diffstat (limited to 'test/spec_deflater.rb')
-rw-r--r-- | test/spec_deflater.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/spec_deflater.rb b/test/spec_deflater.rb index fc159ff1..b4a526b3 100644 --- a/test/spec_deflater.rb +++ b/test/spec_deflater.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'minitest/autorun' require 'stringio' require 'time' # for Time#httpdate @@ -402,7 +404,7 @@ describe Rack::Deflater do 'Content-Type' => 'text/plain' }) - buf = '' + buf = ''.dup raw_bytes = 0 inflater = auto_inflater body.each do |part| |