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

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

[elpa] master 0fd9f62 35/56: lint on test


From: Rocky Bernstein
Subject: [elpa] master 0fd9f62 35/56: lint on test
Date: Sat, 27 May 2017 05:02:35 -0400 (EDT)

branch: master
commit 0fd9f62634bcea7d57b790f0b4fafe6a40cd41d8
Author: rocky <address@hidden>
Commit: rocky <address@hidden>

    lint on test
---
 test/test-regexp-trepan.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/test-regexp-trepan.el b/test/test-regexp-trepan.el
index edf8c39..099127b 100644
--- a/test/test-regexp-trepan.el
+++ b/test/test-regexp-trepan.el
@@ -16,7 +16,7 @@
   (defvar lang-bt-pat)
   (defvar line-group)
   (defvar num-group)
-  (defvar pos)
+  (defvar test-pos)
   (defvar prompt-pat)
   (defvar prompt-str)
   (defvar tb-loc-match)
@@ -84,9 +84,9 @@
              (substring test-s1
                         (match-beginning line-group)
                         (match-end line-group)))
-(setq pos (match-end 0))
+(setq test-pos (match-end 0))
 
-(assert-equal 77 (string-match frame-re test-s1 pos))
+(assert-equal 77 (string-match frame-re test-s1 test-pos))
 (assert-equal "1" (substring test-s1
                             (match-beginning num-group)
                             (match-end num-group)))



reply via email to

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