helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit 0d98a4b1ace03375bf8cdd6933c968ca125557c0
parent 82b890601a05f1ab66e01a414dd3cc2f5f6bc464
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Sat, 17 Feb 2018 00:20:10 +0000

Fix broken test

Diffstat:
Mtest/unit-test.el | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/test/unit-test.el b/test/unit-test.el @@ -1,6 +1,7 @@ (require 'ert) (require 'edebug) (require 'helpful) +(require 'python) (defun test-foo () "Docstring here." @@ -202,12 +203,7 @@ symbol (not a form)." ;; Propertize mode maps. (-let [formatted (helpful--format-docstring "`\\{python-mode-map}'")] (should - (string-equal formatted "C-SPC")) - (should - (eq - (get-text-property 0 'face formatted) - 'button))) - ) + (s-contains-p "run-python" formatted)))) (setq helpful-var-without-defvar 'foo)