File: cluster_commands_on_sorted_sets_test.rb

package info (click to toggle)
ruby-redis 4.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,168 kB
  • sloc: ruby: 12,820; makefile: 107; sh: 24
file content (35 lines) | stat: -rw-r--r-- 842 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# frozen_string_literal: true

require_relative 'helper'
require_relative 'lint/sorted_sets'

# ruby -w -Itest test/cluster_commands_on_sorted_sets_test.rb
# @see https://redis.io/commands#sorted_set
class TestClusterCommandsOnSortedSets < Minitest::Test
  include Helper::Cluster
  include Lint::SortedSets

  def test_zinterstore
    assert_raises(Redis::CommandError) { super }
  end

  def test_zinterstore_with_aggregate
    assert_raises(Redis::CommandError) { super }
  end

  def test_zinterstore_with_weights
    assert_raises(Redis::CommandError) { super }
  end

  def test_zunionstore
    assert_raises(Redis::CommandError) { super }
  end

  def test_zunionstore_with_aggregate
    assert_raises(Redis::CommandError) { super }
  end

  def test_zunionstore_with_weights
    assert_raises(Redis::CommandError) { super }
  end
end