Skip to content

Commit 0b9fbf9

Browse files
committed
Get tests passing with frozen-string-literals enabled.
Though this does require patches for test-unit, as covered in test-unit/test-unit#149.
1 parent ea9f1d2 commit 0b9fbf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis/connection/ruby.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def initialize(*args)
3939
super(*args)
4040

4141
@timeout = @write_timeout = nil
42-
@buffer = ""
42+
@buffer = "".dup
4343
end
4444

4545
def timeout=(timeout)

0 commit comments

Comments
 (0)