Skip to content

Commit 0cc7b99

Browse files
committed
Updated test case to verify PR #974.
1 parent 1c5e074 commit 0cc7b99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/src/test/groovy/io/jsonwebtoken/lang/CollectionsTest.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CollectionsTest {
3535
@Test
3636
void testAsSetFromSet() {
3737
def set = Collections.setOf('foo')
38-
assertSame set, Collections.asSet(set)
38+
assertEquals set, Collections.asSet(set)
3939
}
4040

4141
@Test
@@ -52,7 +52,7 @@ class CollectionsTest {
5252

5353
@Test
5454
void testNullSafeSetWithNullArgument() {
55-
def set = Collections.nullSafe((Set)null)
55+
def set = Collections.nullSafe((Set) null)
5656
assertNotNull set
5757
assertTrue set.isEmpty()
5858
}
@@ -73,7 +73,7 @@ class CollectionsTest {
7373

7474
@Test
7575
void testNullSafeCollectionWithNullArgument() {
76-
Collection c = Collections.nullSafe((Collection)null)
76+
Collection c = Collections.nullSafe((Collection) null)
7777
assertNotNull c
7878
assertTrue c.isEmpty()
7979
}

0 commit comments

Comments
 (0)