diff --git a/evita_functional_tests/src/test/java/io/evitadb/documentation/evitaql/EvitaQLExecutable.java b/evita_functional_tests/src/test/java/io/evitadb/documentation/evitaql/EvitaQLExecutable.java index 4067e2ee7..bad3321d2 100644 --- a/evita_functional_tests/src/test/java/io/evitadb/documentation/evitaql/EvitaQLExecutable.java +++ b/evita_functional_tests/src/test/java/io/evitadb/documentation/evitaql/EvitaQLExecutable.java @@ -114,6 +114,7 @@ @RequiredArgsConstructor public class EvitaQLExecutable extends JsonExecutable implements Executable, EvitaTestSupport { private static final String REF_LINK = "\uD83D\uDD17 "; + private static final String PREDECESSOR_HEAD_SYMBOL = "⎆"; private static final String PREDECESSOR_SYMBOL = "↻ "; private static final String ATTR_LINK = ": "; private static final Map LOCALES = Map.of( @@ -474,7 +475,7 @@ private static String generateMarkDownTable( @Nonnull private static String formatValue(@Nonnull Serializable value) { if (value instanceof Predecessor predecessor) { - return PREDECESSOR_SYMBOL + predecessor.predecessorId(); + return predecessor.isHead() ? PREDECESSOR_HEAD_SYMBOL : PREDECESSOR_SYMBOL + predecessor.predecessorId(); } else { return EvitaDataTypes.formatValue(value); }