From 57c725ab57d5dd5f6348cd0b5256cc4e11b8376b Mon Sep 17 00:00:00 2001 From: Cameron Ross Date: Sun, 24 Jul 2022 23:59:50 -0300 Subject: [PATCH] fix flow style sequences and collections events in test suite --- testsuite/source/app.d | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/testsuite/source/app.d b/testsuite/source/app.d index 30bfbbf..66ebbf1 100644 --- a/testsuite/source/app.d +++ b/testsuite/source/app.d @@ -72,6 +72,10 @@ auto dumpEventString(string str) @safe break; case EventID.mappingStart: line = "+MAP"; + if (event.collectionStyle == CollectionStyle.flow) + { + line ~= text(" {}"); + } if (event.anchor != "") { line ~= text(" &", event.anchor); @@ -83,6 +87,10 @@ auto dumpEventString(string str) @safe break; case EventID.sequenceStart: line = "+SEQ"; + if (event.collectionStyle == CollectionStyle.flow) + { + line ~= text(" []"); + } if (event.anchor != "") { line ~= text(" &", event.anchor);