From 0529bbe85b53c706ddef1825ca75cbb92105c38e Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Mon, 26 Aug 2024 19:07:03 +0900 Subject: [PATCH] test: fix invalid comment syntax in git graphs Mermaid v11.0.2 no longer allows the invalid comments in git graphs with only one `%` character. You now need `%%`. --- test-positive/git-graph.mmd | 2 +- test-positive/mermaid.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-positive/git-graph.mmd b/test-positive/git-graph.mmd index f8a62f69..2a833630 100644 --- a/test-positive/git-graph.mmd +++ b/test-positive/git-graph.mmd @@ -1,5 +1,5 @@ gitGraph - % Need to manually set id, otherwise they are auto-generated + %% Need to manually set id, otherwise they are auto-generated commit id: "abcdef" commit id: "123456" branch feature diff --git a/test-positive/mermaid.md b/test-positive/mermaid.md index e4a13e79..002f9f7a 100644 --- a/test-positive/mermaid.md +++ b/test-positive/mermaid.md @@ -6,7 +6,7 @@ A-->B("hello 🐛") 2. git-graph.mmd ```mermaid gitGraph - % Need to manually set id, otherwise they are auto-generated + %% Need to manually set id, otherwise they are auto-generated commit id: "abcdef" commit id: "123456" branch feature