Skip to content

Commit c57049c

Browse files
committed
Update CompositeSubscriptionTest.java
Fix apparent typo, unsubscription of s2 was not checked and should have been.
1 parent 4002bfd commit c57049c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxjava-core/src/test/java/rx/subscriptions/CompositeSubscriptionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public void testClear() {
238238
s.clear();
239239

240240
assertTrue(s1.isUnsubscribed());
241-
assertTrue(s1.isUnsubscribed());
241+
assertTrue(s2.isUnsubscribed());
242242
assertFalse(s.isUnsubscribed());
243243

244244
BooleanSubscription s3 = new BooleanSubscription();

0 commit comments

Comments
 (0)