From d45f01e81dc11d7b832c1d5007da44d63d66795d Mon Sep 17 00:00:00 2001 From: yunfeiyanggzq Date: Sat, 23 May 2020 21:18:19 +0800 Subject: [PATCH] modify Signed-off-by: yunfeiyanggzq --- .../java/com/alibaba/csp/sentinel/util/function/Tuple2Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-core/src/test/java/com/alibaba/csp/sentinel/util/function/Tuple2Test.java b/sentinel-core/src/test/java/com/alibaba/csp/sentinel/util/function/Tuple2Test.java index f9af8a5158..c07c47121a 100644 --- a/sentinel-core/src/test/java/com/alibaba/csp/sentinel/util/function/Tuple2Test.java +++ b/sentinel-core/src/test/java/com/alibaba/csp/sentinel/util/function/Tuple2Test.java @@ -9,6 +9,6 @@ public class Tuple2Test { public void testSwap() { Tuple2 tupleOld = new Tuple2(1, 2); Tuple2 tupleNew = tupleOld.swap(); - Assert.assertEquals(new Tuple2(2, 1), tupleNew); + Assert.assertEquals("Tuple2{r1=2, r2=1}", tupleNew.toString()); } }