]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't scan other files because Util.cc is already in a buffer
authorEric Ludlam <zappo@gnu.org>
Sun, 20 Apr 2014 17:56:08 +0000 (13:56 -0400)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 18:21:28 +0000 (20:21 +0200)
* test/manual/cedet/cit-globalref.el (cit-globalref-test): Final test,
 Util.cc is already in a buffer, so we shouldn't scan any other files.

test/manual/cedet/cit-globalref.el

index 50d1b75f9f261d2fd8fc8d828b31edaf626bdcbf..cb5e3314c3f256bb2fb49882f1ed70e87fab1acd 100644 (file)
   (message "Jump to myUtilFunNoNS success.")
 
   ;; The only file it needed to find
-  (when (not (equal cit-globalref-file-log '("src/Util.cc")))
-    (message "Too many files searched, should have only found src/Util.cc")
+  (when (not (equal cit-globalref-file-log nil)) ;; '("src/Util.cc")))
+    (message "Too many files searched, should have found files in buffers.")
     (error "Found %S" cit-globalref-file-log))
 
   ;; Debug reporting.