[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subed 5f803d5 244/389: Add some missing tests
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subed 5f803d5 244/389: Add some missing tests |
Date: |
Fri, 3 Dec 2021 11:00:34 -0500 (EST) |
branch: elpa/subed
commit 5f803d5d4f261822e318b79a1dd29efaafee5c89
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>
Add some missing tests
---
tests/test-subed.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/test-subed.el b/tests/test-subed.el
index 0d0802a..9c25e02 100644
--- a/tests/test-subed.el
+++ b/tests/test-subed.el
@@ -1561,7 +1561,9 @@
"0\n"
"00:01:01,200 -->
00:01:02,200\n"
"\n"))
- (expect (point) :to-equal 71))))
+ (expect (point) :to-equal 71)
+ (expect 'subed-regenerate-ids-soon
:to-have-been-called-times 1)
+ (spy-calls-reset 'subed-regenerate-ids-soon))))
)
(describe "when there is not enough time for the subtitles"
(describe "to append"
@@ -1611,7 +1613,9 @@
"2\n"
"00:01:00,500
--> 00:01:05,000\n"
"Bar.\n"))
- (expect (point) :to-equal 71))))
+ (expect (point) :to-equal 71)
+ (expect 'subed-regenerate-ids-soon
:to-have-been-called-times 1)
+ (spy-calls-reset 'subed-regenerate-ids-soon))))
)
(describe "to prepend"
(describe "between subtitles"
- [nongnu] elpa/subed 6d53418 224/389: Add test for killing non-last subtitle, (continued)
- [nongnu] elpa/subed 6d53418 224/389: Add test for killing non-last subtitle, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed e621108 219/389: Adjust subtitle killing test descriptions, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 06e9ce9 227/389: Make group in regexp-separator shy, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f7f9fcf 226/389: Remove useless concat, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 6e5a127 231/389: declare variables and functions that subed.el defines, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 56b2ff2 232/389: Move most of the insertion complexity to subed.el, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed d3bc655 234/389: Update subed-default-subtitle-length docstring, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed a1c150b 235/389: Update subed-subtitle-spacing docstring, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 43e8e91 236/389: Fix insert test, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed c84e5cb 233/389: Rename *-subtitle-kill to *-kill-subtitle, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 5f803d5 244/389: Add some missing tests,
ELPA Syncer <=
- [nongnu] elpa/subed aae6f0c 123/389: Add function: subed-srt--run-subtitle-time-adjusted-hook, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed b912311 128/389: Do not sync point to player if region is active, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f95e914 132/389: Remove old junk code, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 205d3c8 135/389: Add subed-shift-subtitle-forward/backward, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 2952936 133/389: Reword some docstrings, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 0a20cef 138/389: Run subtitle-time-adjusted-hook only if time was adjusted, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 7e5690c 142/389: Reword subtitle shifting description, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 84935a7 152/389: Make sure adjusting forward/backward never subtracts/adds, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed b34eb47 158/389: Fix docstring, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 19efbb8 161/389: Rename subed--mode-enabled to subed-mode--enabled-p, ELPA Syncer, 2021/12/03