Skip to content

Commit

Permalink
clean up tostring a little
Browse files Browse the repository at this point in the history
  • Loading branch information
baroquebobcat committed Nov 22, 2024
1 parent 3b218a1 commit 95b9e19
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ public void stopsAtDepthN() throws Exception {
list = SpanFormatter.convertKVtoProtoDefault("init", head, schema);
assertThat(list.size()).isEqualTo(1);
assertThat(list.getFirst().getKey()).isEqualTo("init.a.b");
assertThat(list.getFirst().getVBinary().toString(StandardCharsets.UTF_8))
.isEqualTo("{c={d={e={f=value}}}}");
assertThat(list.getFirst().getVBinary().toStringUtf8()).isEqualTo("{c={d={e={f=value}}}}");

list = SpanFormatter.convertKVtoProtoDefault("init", head, schema, 0);
assertThat(list.size()).isEqualTo(1);
Expand Down

0 comments on commit 95b9e19

Please sign in to comment.