texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/t/test_utils.pl (_duplicate_element_keys): r


From: Patrice Dumas
Subject: branch master updated: * tp/t/test_utils.pl (_duplicate_element_keys): remove code related to extra keys not existing anymore.
Date: Tue, 07 Mar 2023 11:56:30 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 774396ba4a * tp/t/test_utils.pl (_duplicate_element_keys): remove code 
related to extra keys not existing anymore.
774396ba4a is described below

commit 774396ba4abe8b2f02f72fb2d9c8d7c83fb5f068
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Mar 7 17:56:20 2023 +0100

    * tp/t/test_utils.pl (_duplicate_element_keys): remove code related to
    extra keys not existing anymore.
---
 ChangeLog          | 5 +++++
 tp/t/test_utils.pl | 9 ---------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5186f8bdf8..c687eaef77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-07  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/t/test_utils.pl (_duplicate_element_keys): remove code related to
+       extra keys not existing anymore.
+
 2023-03-07  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/parsetexi/api.c (store_additional_info),
diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index 445cd76277..01602216b1 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -409,15 +409,6 @@ sub _duplicate_element_keys($$)
         duplicate_key_array($node_manual, 'node_content');
       }
     }
-    if (exists($current->{'extra'}->{'type'})) {
-      duplicate_key_array($current->{'extra'}->{'type'}, 'content');
-    }
-    if (exists($current->{'extra'}->{'prototypes'})
-        and (defined($current->{'extra'}->{'prototypes'}))) {
-      foreach my $prototype (@{$current->{'extra'}->{'prototypes'}}) {
-        duplicate_key_array($prototype, 'contents');
-      }
-    }
   }
 
   return ($current);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]