File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ struct record_check java_input[] = {
108108 {" at com.example.myproject.Book.getId(Book.java:22)\n" },
109109 {" at com.example.myproject.Author.getBookIds(Author.java:35)\n" },
110110 {" ... 1 more" },
111- {"single line" }
111+ {"single line\n " }
112112};
113113
114114struct record_check java_output [] = {
@@ -122,7 +122,7 @@ struct record_check java_output[] = {
122122 " ... 1 more"
123123 },
124124 {
125- "single line"
125+ "single line\n "
126126 }
127127};
128128
@@ -339,13 +339,6 @@ static int flush_callback(struct flb_ml_parser *parser,
339339 }
340340 TEST_CHECK (found == FLB_TRUE );
341341
342- if (!exp -> buf ) {
343- printf ("expected length: %i, received: NULL\n" , len );
344- msgpack_unpacked_destroy (& result );
345- exit (1 );
346- return -1 ;
347- }
348-
349342 len = strlen (exp -> buf );
350343 TEST_CHECK (val .via .str .size == len );
351344 if (val .via .str .size != len ) {
You can’t perform that action at this time.
0 commit comments