Skip to content

Commit

Permalink
Test for post-processing blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
machinewrapped committed May 22, 2024
1 parent bad6fff commit c37758a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PySubtitle/UnitTests/test_Subtitles.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ def test_Preprocess(self):
{ 'remove_filler_words': True, 'filler_words': standard_filler_words, 'break_long_lines': True, 'max_single_line_length': 30, 'min_single_line_length': 10},
[
"9\n00:01:00,000 --> 00:01:05,000\nThis subtitle has some filler\nwords that should be removed."
])
]),
(["227\n00:22:53,260 --> 00:22:56,196\n"], { }, [ "227\n00:22:53,260 --> 00:22:56,196\n"])
]

def test_Postprocess(self):
Expand Down

0 comments on commit c37758a

Please sign in to comment.