Commit 118d6ef5 authored by Stefan Kangas's avatar Stefan Kangas

Remove some XEmacs compat code from tests

* test/lisp/cedet/srecode-utest-getset.el
(srecode-utest-getset-output):
* test/lisp/cedet/srecode-utest-template.el
(srecode-utest-template-output): Remove XEmacs compat code.
parent 6d467eb4
Pipeline #8688 passed with stage
in 83 minutes and 54 seconds
......@@ -128,7 +128,6 @@ private:
(srecode-utest-getset-jumptotag "miscFunction"))
(let ((pos (point)))
(skip-chars-backward " \t\n") ; xemacs forward-comment is different.
(forward-comment -1)
(re-search-forward "miscFunction" pos))
......
......@@ -307,13 +307,9 @@ INSIDE SECTION: ARG HANDLER ONE")
(should (srecode-table major-mode))
;; Loop over the output testpoints.
(dolist (p srecode-utest-output-entries)
(set-buffer testbuff) ;; XEmacs causes a buffer switch. I don't know why
(should-not (srecode-utest-test p))
)
(should-not (srecode-utest-test p)))))
))
(when (file-exists-p srecode-utest-testfile)
(delete-file srecode-utest-testfile)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment