You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -871,7 +876,7 @@ public void assertValuePredicateMatch() {
871
876
872
877
@Test
873
878
publicvoidassertValuePredicateNoMatch() {
874
-
assertThrows("Value not present", AssertionError.class, () -> {
879
+
assertThrowsWithMessage("Value 1 (class: Integer) at position 0 did not pass the predicate (latch = 0, values = 1, errors = 0, completions = 1)", AssertionError.class, () -> {
875
880
TestObserver<Integer> to = newTestObserver<>();
876
881
877
882
Observable.just(1).subscribe(to);
@@ -886,7 +891,7 @@ public void assertValuePredicateNoMatch() {
886
891
887
892
@Test
888
893
publicvoidassertValuePredicateMatchButMore() {
889
-
assertThrows("Value present but other values as well", AssertionError.class, () -> {
894
+
assertThrowsWithMessage("The first value passed the predicate but this consumer received more than one value (latch = 0, values = 2, errors = 0, completions = 1)", AssertionError.class, () -> {
890
895
TestObserver<Integer> to = newTestObserver<>();
891
896
892
897
Observable.just(1, 2).subscribe(to);
@@ -901,7 +906,7 @@ public void assertValuePredicateMatchButMore() {
@@ -1408,7 +1413,7 @@ public void assertValuePredicateNoMatch() {
1408
1413
1409
1414
@Test
1410
1415
publicvoidassertValuePredicateMatchButMore() {
1411
-
assertThrows("Value present but other values as well", AssertionError.class, () -> {
1416
+
assertThrowsWithMessage("The first value passed the predicate but this consumer received more than one value (latch = 0, values = 2, errors = 0, completions = 1)", AssertionError.class, () -> {
0 commit comments