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

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

[nongnu] elpa/subed 645efb2 175/389: Don't test for undefined return val


From: ELPA Syncer
Subject: [nongnu] elpa/subed 645efb2 175/389: Don't test for undefined return value when moving subtitles
Date: Fri, 3 Dec 2021 11:00:20 -0500 (EST)

branch: elpa/subed
commit 645efb253056ffeb2d5395ef3e154576a893b078
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>

    Don't test for undefined return value when moving subtitles
---
 tests/test-subed.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test-subed.el b/tests/test-subed.el
index 6dad9ab..17e0a8c 100644
--- a/tests/test-subed.el
+++ b/tests/test-subed.el
@@ -127,7 +127,7 @@
                                 "00:00:02,000 --> 00:00:03,000\n"
                                 "Bar.\n"))
                 (subed-jump-to-subtitle-id 1)
-                (expect (subed-move-subtitle-forward 1) :to-be nil)
+                (subed-move-subtitle-forward 1)
                 (expect (subed-subtitle-msecs-start 1) :to-equal 1000)
                 (expect (subed-subtitle-msecs-stop 1) :to-equal 2000)
                 (expect (subed-subtitle-msecs-start 2) :to-equal 2000)
@@ -141,7 +141,7 @@
                                 "00:00:02,000 --> 00:00:03,000\n"
                                 "Bar.\n"))
                 (subed-jump-to-subtitle-id 2)
-                (expect (subed-move-subtitle-backward 1) :to-be nil)
+                (subed-move-subtitle-backward 1)
                 (expect (subed-subtitle-msecs-start 1) :to-equal 1000)
                 (expect (subed-subtitle-msecs-stop 1) :to-equal 2000)
                 (expect (subed-subtitle-msecs-start 2) :to-equal 2000)



reply via email to

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