emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] feature/aptel/dynamic-modules-rc3 2e998a7 5/9: modules/fmo


From: Teodor Zlatanov
Subject: [Emacs-diffs] feature/aptel/dynamic-modules-rc3 2e998a7 5/9: modules/fmod: use right docstring in test
Date: Tue, 10 Feb 2015 14:53:56 +0000

branch: feature/aptel/dynamic-modules-rc3
commit 2e998a7ff982aabd56138b812fa9600e2d885860
Author: Aurélien Aptel <address@hidden>
Commit: Aurélien Aptel <address@hidden>

    modules/fmod: use right docstring in test
---
 modules/fmod/test.el |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/modules/fmod/test.el b/modules/fmod/test.el
index fa94b04..e1478d8 100644
--- a/modules/fmod/test.el
+++ b/modules/fmod/test.el
@@ -11,18 +11,14 @@
 (ert-deftest fmod-doc ()
   "Tests docstring"
   ;; core functions docstrings should work
-  (should (string= (documentation 'base64-decode-string 'raw) "Base64-decode 
STRING and return the result."))
+  (should (string= (documentation 'base64-decode-string 'raw) "Base64-decode 
STRING and return the result.\n\n(fn STRING)"))
 
   (require 'fmod)
 
   ;; even after a module was added
-  (should (string= (documentation 'base64-decode-string 'raw) "Base64-decode 
STRING and return the result.
-
-(fn STRING)"))
+  (should (string= (documentation 'base64-decode-string 'raw) "Base64-decode 
STRING and return the result.\n\n(fn STRING)"))
   ;; check new function doc
-  (should (string= (documentation 'fmod 'raw) "Returns the floating-point 
remainder of NUMER/DENOM
-
-(fn NUMER DENOM)")))
+  (should (string= (documentation 'fmod 'raw) "Returns the floating-point 
remainder of NUMER/DENOM\n\n(fn NUMER DENOM)")))
 
 (ert-deftest fmod-value ()
   "Tests fmod calls"



reply via email to

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