Skip to content

Commit cd5e4c2

Browse files
izeyebclozel
authored andcommitted
Fix typo in ProtobufHttpMessageConverterTests.canWrite()
See gh-34645 Closes gh-35062 Signed-off-by: Johnny Lim <[email protected]>
1 parent cc7dc47 commit cd5e4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/test/java/org/springframework/http/converter/protobuf/ProtobufHttpMessageConverterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void canRead() {
6464
void canWrite() {
6565
assertThat(this.converter.canWrite(Msg.class, null)).isTrue();
6666
assertThat(this.converter.canWrite(Msg.class, ProtobufHttpMessageConverter.PROTOBUF)).isTrue();
67-
assertThat(this.converter.canRead(Msg.class, this.testPlusProtoMediaType)).isTrue();
67+
assertThat(this.converter.canWrite(Msg.class, this.testPlusProtoMediaType)).isTrue();
6868
assertThat(this.converter.canWrite(Msg.class, MediaType.APPLICATION_JSON)).isTrue();
6969
assertThat(this.converter.canWrite(Msg.class, MediaType.TEXT_PLAIN)).isTrue();
7070
}

0 commit comments

Comments
 (0)