Sha256: afeb4782cf9e740e11b90a0d73834f322a3f0cadee3cfeb1221b43604fe360e8
Contents?: true
Size: 417 Bytes
Versions: 11
Compression:
Stored size: 417 Bytes
Contents
# encoding: UTF-8 require "helper" require "lint/hashes" class TestCommandsOnHashes < Test::Unit::TestCase include Helper::Client include Lint::Hashes def test_mapped_hmget_in_a_pipeline_returns_hash r.hset("foo", "f1", "s1") r.hset("foo", "f2", "s2") result = r.pipelined do r.mapped_hmget("foo", "f1", "f2") end assert_equal result[0], { "f1" => "s1", "f2" => "s2" } end end
Version data entries
11 entries across 11 versions & 3 rubygems