File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
api/src/test/groovy/io/jsonwebtoken/lang Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class CollectionsTest {
35
35
@Test
36
36
void testAsSetFromSet () {
37
37
def set = Collections . setOf(' foo' )
38
- assertSame set, Collections . asSet(set)
38
+ assertEquals set, Collections . asSet(set)
39
39
}
40
40
41
41
@Test
@@ -52,7 +52,7 @@ class CollectionsTest {
52
52
53
53
@Test
54
54
void testNullSafeSetWithNullArgument () {
55
- def set = Collections . nullSafe((Set )null )
55
+ def set = Collections . nullSafe((Set ) null )
56
56
assertNotNull set
57
57
assertTrue set. isEmpty()
58
58
}
@@ -73,7 +73,7 @@ class CollectionsTest {
73
73
74
74
@Test
75
75
void testNullSafeCollectionWithNullArgument () {
76
- Collection c = Collections . nullSafe((Collection )null )
76
+ Collection c = Collections . nullSafe((Collection ) null )
77
77
assertNotNull c
78
78
assertTrue c. isEmpty()
79
79
}
You can’t perform that action at this time.
0 commit comments