diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-10 15:27:41 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-10 15:27:41 +0200 |
| commit | 03dac68294060d84f57cf255584c2a7ca0dccc07 (patch) | |
| tree | ebf705bd395f4f90bc10ee0d685d0488b447357d /test/hints_test.cc | |
| parent | 2693be674d071a7d0d04d10f7b5e1de62734234d (diff) | |
Fix up hints about long subtitle lines.
Diffstat (limited to 'test/hints_test.cc')
| -rw-r--r-- | test/hints_test.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/hints_test.cc b/test/hints_test.cc index 33486f0be..f929da9c4 100644 --- a/test/hints_test.cc +++ b/test/hints_test.cc @@ -149,7 +149,17 @@ BOOST_AUTO_TEST_CASE (hint_subtitle_too_long) check ( TextType::OPEN_SUBTITLE, "hint_subtitle_too_long", - string("At least one of your subtitle lines has more than 52 characters. It is advisable to make each line 52 characters at most in length.") + string("At least one of your subtitle lines has more than 52 characters. It is recommended to make each line 52 characters at most in length.") + ); +} + + +BOOST_AUTO_TEST_CASE (hint_subtitle_much_too_long) +{ + check ( + TextType::OPEN_SUBTITLE, + "hint_subtitle_much_too_long", + string("At least one of your subtitle lines has more than 79 characters. You should make each line 79 characters at most in length.") ); } |
