From 2cb7e5d438e202722151a802f3f7a0de9d2dfae5 Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Mon, 2 Dec 2019 10:10:06 +0100 Subject: [PATCH] Add test cases for duplicate with same group Change-Id: I9603e7ebf167330b1eddae1676e9234edf6557bc --- tests/parser/citeParserTests.txt | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/tests/parser/citeParserTests.txt b/tests/parser/citeParserTests.txt index 03e2726a4..29e4a4156 100644 --- a/tests/parser/citeParserTests.txt +++ b/tests/parser/citeParserTests.txt @@ -1276,6 +1276,19 @@ A foo B bar +!! html +

A [1] +

+
    +
  1. foo +
  2. +
+

B [1] +

+
    +
  1. bar +
  2. +
!! html/parsoid

A [1]

@@ -1289,6 +1302,31 @@ B bar !! end +!! test +Counters should be cleared after processing named +!! wikitext +A foo + + + +B bar + + +!! html +

A [g 1] +

+
    +
  1. foo +
  2. +
+

B [g 1] +

+
    +
  1. bar +
  2. +
+!! end + !! test References: 4. only referenced group should be cleared after processing references !! wikitext