summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-18 20:37:14 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-18 20:37:14 +0200
commita2b97a1e3e4211a5c6b86ab780bcb9f5f4a9eeeb (patch)
tree354d75141352ab018a7a7020a28c68691ec1a23e /test
parente983d424808894dc9b036c46cd61d8fa39487dfd (diff)
parent179685ef5cfb81d362282ee2fae526533e6404a3 (diff)
Improve the appearance of things in macOS dark mode in various ways.
Diffstat (limited to 'test')
-rw-r--r--test/release_notes_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/release_notes_test.cc b/test/release_notes_test.cc
index 394de5959..c05ad2618 100644
--- a/test/release_notes_test.cc
+++ b/test/release_notes_test.cc
@@ -32,7 +32,7 @@ BOOST_AUTO_TEST_CASE(release_notes_test1)
{
for (auto version: { "2.16.19", "2.16.20", "2.18.0", "2.18.1devel6" }) {
Config::instance()->unset_last_release_notes_version();
- auto notes = find_release_notes(string(version));
+ auto notes = find_release_notes(true, string(version));
BOOST_CHECK(notes.get_value_or("").find("In this version there are changes to the way that subtitles are positioned.") != string::npos);
}
}
@@ -43,7 +43,7 @@ BOOST_AUTO_TEST_CASE(release_notes_test2)
{
for (auto version: { "2.16.19", "2.16.20", "2.18.0", "2.18.1devel6" }) {
Config::instance()->set_last_release_notes_version("2.16.19");
- auto notes = find_release_notes(string(version));
+ auto notes = find_release_notes(false, string(version));
BOOST_CHECK(!static_cast<bool>(notes));
}
}