Skip to content

Commit 39944a9

Browse files
committed
Ruby 1.8 syntax.
1 parent d26f6e1 commit 39944a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/internals_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def test_write_timeout
175175

176176
assert_raise(Redis::TimeoutError) do
177177
Timeout.timeout(1) do
178-
redis = Redis.new(:port => 6383, timeout: 5, write_timeout: 0.2)
178+
redis = Redis.new(:port => 6383, :timeout => 5, :write_timeout => 0.2)
179179
redis.set("foo", "1" * 1048576)
180180
end
181181
end

0 commit comments

Comments
 (0)