auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. cf0ff7040f1f93556c0c9


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. cf0ff7040f1f93556c0c91d7091ba4a057edbb02
Date: Sun, 10 Sep 2017 08:34:22 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  cf0ff7040f1f93556c0c91d7091ba4a057edbb02 (commit)
      from  433b5f9ee70411aa09e16b5de855e69c310448f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cf0ff7040f1f93556c0c91d7091ba4a057edbb02
Author: Ikumi Keita <address@hidden>
Date:   Sun Sep 10 21:31:45 2017 +0900

    Add test for infinite loop
    
    * tests/tex/utility.el: New file.

diff --git a/tests/tex/utility.el b/tests/tex/utility.el
new file mode 100644
index 0000000..843bd57
--- /dev/null
+++ b/tests/tex/utility.el
@@ -0,0 +1,32 @@
+;;; utility.el --- tests for AUCTeX utility functions
+
+;; Copyright (C) 2017 Free Software Foundation, Inc.
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING.  If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Code:
+
+(require 'ert)
+(require 'tex)
+
+(ert-deftest TeX-infinite-loop ()
+  "Check whether functions don't fall into infinite loop."
+  (should (TeX-delete-duplicate-strings '("nil")))
+  (should (TeX-delete-dups-by-car '(("nil" . 1)))))
+
+;;; utility.el ends here

-----------------------------------------------------------------------

Summary of changes:
 style/canadian.el => tests/tex/utility.el | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)
 copy style/canadian.el => tests/tex/utility.el (65%)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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