From dd9777f005336ddfc3ba27027787862320966e65 Mon Sep 17 00:00:00 2001 From: David Engster Date: Sun, 27 Nov 2011 20:04:01 +0100 Subject: [PATCH] Fix interactive unit tests. * pulse-utest.el (pulse-test): Use normal overlay functions. * cedet-utests.el (chart): Require. --- test/manual/cedet/pulse-utest.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/manual/cedet/pulse-utest.el b/test/manual/cedet/pulse-utest.el index 6d838f264e5..46cd1497f74 100644 --- a/test/manual/cedet/pulse-utest.el +++ b/test/manual/cedet/pulse-utest.el @@ -62,11 +62,11 @@ When optional NO-ERROR Don't throw an error if we can't run tests." (when (not (eobp)) (forward-char 1)) (point))) - (o (pulse-make-overlay start end)) + (o (make-overlay start end)) ) (pulse-momentary-highlight-overlay o) - (if (pulse-overlay-live-p o) - (pulse-overlay-delete o) + (if (overlay-buffer o) + (delete-overlay o) (error "Non-temporary overlay was deleted!")) ) (when (cedet-called-interactively-p) -- 2.39.2