texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/t/test_parse_texi_line.t: invert order of Te


From: Gavin D. Smith
Subject: branch master updated: * tp/t/test_parse_texi_line.t: invert order of Test::More::is test to put expected result second, not first.
Date: Fri, 23 Feb 2024 15:10:56 -0500

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

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 9d88c386eb * tp/t/test_parse_texi_line.t: invert order of 
Test::More::is test to put expected result second, not first.
9d88c386eb is described below

commit 9d88c386eb073c2f58746ed8c81e865b819daafd
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Fri Feb 23 20:10:02 2024 +0000

    * tp/t/test_parse_texi_line.t: invert order of Test::More::is test
    to put expected result second, not first.
---
 ChangeLog                   | 5 +++++
 tp/t/test_parse_texi_line.t | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a943199b89..b85ec15a06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-02-23  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/t/test_parse_texi_line.t: invert order of Test::More::is test
+       to put expected result second, not first.
+
 2024-02-23  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/main/manipulate_indices.c: add const.
diff --git a/tp/t/test_parse_texi_line.t b/tp/t/test_parse_texi_line.t
index 2fe3f0a0d3..c7324d4e74 100644
--- a/tp/t/test_parse_texi_line.t
+++ b/tp/t/test_parse_texi_line.t
@@ -37,7 +37,7 @@ sub test_line($$$$)
   my $parser_registrar = $parser->registered_errors();
   my ($error_warnings_list, $error_count) = $parser_registrar->errors();
   if (defined($errors_references)) {
-    is (scalar(@$errors_references), scalar(@$error_warnings_list),
+    is (scalar(@$error_warnings_list), scalar(@$errors_references),
         "warning/errors nr $test_explanation");
   }
   my $error_idx = 0;



reply via email to

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