Skip to content

Commit

Permalink
api,netty: Fix TruthIncompatibleType
Browse files Browse the repository at this point in the history
  • Loading branch information
dapengzhang0 committed Sep 15, 2020
1 parent 9dd56a7 commit ee5b592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/test/java/io/grpc/ClientInterceptorsTest.java
Expand Up @@ -329,7 +329,7 @@ public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
assertSame(listener, call.listener);
assertSame(headers, call.headers);
interceptedCall.sendMessage(null /*request*/);
assertThat(call.messages).containsExactly((Void) null /*request*/);
assertThat(call.messages).containsExactly((String) null);
interceptedCall.halfClose();
assertTrue(call.halfClosed);
interceptedCall.request(1);
Expand Down
Expand Up @@ -345,7 +345,7 @@ public void run() {
assertThat(chan.pipeline().context(handler)).isNull();
assertThat(write.get().getClass()).isSameInstanceAs(Object.class);
assertTrue(flush.get());
assertThat(chan.pipeline()).doesNotContain(handler);
assertThat(chan.pipeline().toMap().values()).doesNotContain(handler);
}

@Test
Expand Down

0 comments on commit ee5b592

Please sign in to comment.