Skip to content

Commit 7aed3a0

Browse files
committed
fix zunion test
1 parent e95e246 commit 7aed3a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/redis/clients/jedis/commands/jedis/SortedSetCommandsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,8 +1238,8 @@ public void zunion() {
12381238
assertEquals(expected, jedis.zunion(params, "foo", "bar"));
12391239

12401240
List<Tuple> expectedTuple = new ArrayList<>();
1241-
expectedTuple.add(new Tuple("b", new Double(9)));
12421241
expectedTuple.add(new Tuple("a", new Double(7)));
1242+
expectedTuple.add(new Tuple("b", new Double(9)));
12431243
assertEquals(expectedTuple, jedis.zunionWithScores(params, "foo", "bar"));
12441244

12451245
// Binary
@@ -1257,8 +1257,8 @@ public void zunion() {
12571257
AssertUtil.assertByteArrayListEquals(bexpected, jedis.zunion(params, bfoo, bbar));
12581258

12591259
List<Tuple> bexpectedTuple = new ArrayList<>();
1260-
bexpectedTuple.add(new Tuple(bb, new Double(9)));
12611260
bexpectedTuple.add(new Tuple(ba, new Double(7)));
1261+
bexpectedTuple.add(new Tuple(bb, new Double(9)));
12621262
assertEquals(bexpectedTuple, jedis.zunionWithScores(bparams, bfoo, bbar));
12631263
}
12641264

0 commit comments

Comments
 (0)