From 03dac68294060d84f57cf255584c2a7ca0dccc07 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 10 Apr 2021 15:27:41 +0200 Subject: Fix up hints about long subtitle lines. --- test/data | 2 +- test/hints_test.cc | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/data b/test/data index 0d909bc1f..f67e61414 160000 --- a/test/data +++ b/test/data @@ -1 +1 @@ -Subproject commit 0d909bc1f5faf91ded4acb6afbee99fd77cd4672 +Subproject commit f67e614146c23e721421c2070460510f965a170c 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.") ); } -- cgit v1.2.3