Skip to content

Commit 1ba54ef

Browse files
committed
issues/650: fix failed test on new added proto
1 parent 9dc58a2 commit 1ba54ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

api/src/test/java/io/kafbat/ui/serdes/builtin/ProtobufFileSerdeTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,15 @@ void setUp() throws Exception {
8080
void loadsAllProtoFiledFromTargetDirectory() throws Exception {
8181
var protoDir = ResourceUtils.getFile("classpath:protobuf-serde/").getPath();
8282
List<ProtoFile> files = new ProtobufFileSerde.ProtoSchemaLoader(protoDir).load();
83-
assertThat(files).hasSize(4);
83+
assertThat(files).hasSize(5);
8484
assertThat(files)
8585
.map(f -> f.getLocation().getPath())
8686
.containsExactlyInAnyOrder(
8787
"language/language.proto",
8888
"sensor.proto",
8989
"address-book.proto",
90-
"lang-description.proto"
90+
"lang-description.proto",
91+
"messagewithany.proto"
9192
);
9293
}
9394

0 commit comments

Comments
 (0)