emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/buttercup ae606fc 153/340: Set failure description to empt


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup ae606fc 153/340: Set failure description to empty string for pending specs
Date: Thu, 16 Dec 2021 14:59:24 -0500 (EST)

branch: elpa/buttercup
commit ae606fc37efcde89de926b662109a6d89743cc5c
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Jorgen Schäfer <Jorgen.Schaefer@gmail.com>

    Set failure description to empty string for pending specs
    
    Removes the nils from this writing-tests.md testcase
    
    Pending specs
      can be declared using `xit'  nil
      can be declared with `it' but without a body  nil
---
 buttercup.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/buttercup.el b/buttercup.el
index a482ff6..16205f2 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -930,7 +930,9 @@ A disabled spec is not run."
   (let ((spec (car (last (buttercup-suite-children
                           buttercup--current-suite)))))
     (setf (buttercup-spec-status spec)
-          'pending)))
+          'pending
+          (buttercup-spec-failure-description spec)
+          "")))
 
 ;;;;;;;;;
 ;;; Spies



reply via email to

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