Skip to content

Commit 1945713

Browse files
Fix unit test after last() changed behavior
1 parent 2a737ec commit 1945713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxjava-core/src/test/java/rx/operators/OperationTakeWhileTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public Subscription onSubscribe(Observer<? super String> observer) {
119119
public Boolean call(String s) {
120120
return false;
121121
}
122-
})).toBlockingObservable().last();
122+
})).toBlockingObservable().lastOrDefault("");
123123
}
124124

125125
@Test

0 commit comments

Comments
 (0)