emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex aed9191 33/57: * tests/tex/compilation-log.txt:


From: Tassilo Horn
Subject: [elpa] externals/auctex aed9191 33/57: * tests/tex/compilation-log.txt:
Date: Tue, 25 Jul 2017 14:02:32 -0400 (EDT)

branch: externals/auctex
commit aed9191a3aa4cf2f640ff985bbbca0553e4e48d0
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>

    * tests/tex/compilation-log.txt:
    * tests/tex/error-parsing.el: Add test for error starting with exclamation 
mark.
---
 tests/tex/compilation-log.txt | 4 ++++
 tests/tex/error-parsing.el    | 8 ++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/tests/tex/compilation-log.txt b/tests/tex/compilation-log.txt
index 85e56c0..f9ce7ac 100644
--- a/tests/tex/compilation-log.txt
+++ b/tests/tex/compilation-log.txt
@@ -61,6 +61,10 @@ Overfull \hbox (13.59138pt too wide) in paragraph at lines 
367--368
 
 [93])
 
+! Undefined control sequence.
+l.11 \doesnotexist
+
+(./foo.aux) )
 LaTeX Warning: Citation 'Knuth:TeXbook-1984' undefined on input line 48.
 
 LaTeX Warning: There were undefined references.
diff --git a/tests/tex/error-parsing.el b/tests/tex/error-parsing.el
index ed34409..7193db6 100644
--- a/tests/tex/error-parsing.el
+++ b/tests/tex/error-parsing.el
@@ -110,12 +110,16 @@ ABD: EveryShipout initializing macros"
              (bad-box "./file  name/with spaces.tex" 367 "Overfull \\hbox 
(13.59138pt too wide) in paragraph at lines 367--368"
               0 "\n[]\\T1/pplj/m/n/10.95 Un qua-dri-vet-to-re co-va-rian-te 
$\\OMS/zplm/m/n/10.95 f\\OML/zplm/m/it/10.95 A[]\\OMS/zplm/m/n/10.95 g$ 
\\T1/pplj/m/n/10.95 e un in-sie-me di quat-tro quan-ti-ta $\\OT1/zplm/m/n/10.95 
(\\OML/zplm/m/it/10.95 A[]; A[]; A[]; A[]\\OT1/zplm/m/n/10.95 )$" "$"
               368 t 2600 nil)
+             (error "./test.tex" 11 "Undefined control sequence." 0
+                   "\nl.11 \\doesnotexist\n\n(./foo.aux) )"
+                   "\\doesnotexist\n" nil nil 2682 nil)
              (warning "./test.tex" 48
               "LaTeX Warning: Citation 'Knuth:TeXbook-1984' undefined on input 
line 48." 0
               "LaTeX Warning: Citation 'Knuth:TeXbook-1984' undefined on input 
line 48.\n"
-              "Knuth:TeXbook-1984" 48 nil 2692 nil)
+              "Knuth:TeXbook-1984" 48 nil 2756 nil)
              (warning "./test.tex" nil "LaTeX Warning: There were undefined 
references."
-              0 "LaTeX Warning: There were undefined references.\n" nil nil 
nil 2741 nil)))))
+              0 "LaTeX Warning: There were undefined references.\n" nil nil 
nil 2805 nil)
+))))
 
 ;; See https://lists.gnu.org/archive/html/auctex/2017-04/msg00007.html.
 (ert-deftest TeX-LaTeX2e-date ()



reply via email to

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