Skip to content

Commit

Permalink
bump AssertJ to 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbasle committed Jan 5, 2018
1 parent b08ba93 commit 69fbde6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ext {
logbackVersion = '1.1.2'

// Testing
assertJVersion = '3.8.0'
assertJVersion = '3.9.0'
mockitoVersion = '2.10.0'

javadocLinks = ["https://docs.oracle.com/javase/8/docs/api/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,10 @@ public void state(){
assertThat(tp.getBufferSize()).isEqualTo(Queues.SMALL_BUFFER_SIZE);
assertThat(tp.isCancelled()).isFalse();

//workaround https://github.com/joel-costigliola/assertj-core/issues/1046
Stream inners = tp.inners();
assertThat(inners).isEmpty();
assertThat(tp.inners()).isEmpty();

Disposable d1 = tp.subscribe();
//workaround https://github.com/joel-costigliola/assertj-core/issues/1046
inners = tp.inners();
assertThat(inners).hasSize(1);
assertThat(tp.inners()).hasSize(1);

FluxSink<Integer> s = tp.sink();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -955,9 +955,7 @@ void assertAfterOnCompleteInnerState2(InnerConsumer s) {

@SuppressWarnings("unchecked")
void assertAfterOnSubscribeInnerState(InnerProducer s) {
//workaround https://github.com/joel-costigliola/assertj-core/issues/1046
Stream inners = s.inners();
assertThat(inners).hasSize(1);
assertThat(s.inners()).hasSize(1);
}

void assertBeforeOnSubscribeInnerState(InnerConsumer s) {
Expand Down

0 comments on commit 69fbde6

Please sign in to comment.