Fix test for better diacriticals handling.
authorCarl Hetherington <cth@carlh.net>
Thu, 4 Feb 2021 07:18:08 +0000 (08:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 4 Feb 2021 07:18:08 +0000 (08:18 +0100)
test/file_naming_test.cc

index ef43316d26281e208b13d55f501b75b1d270cf36..079026cbac85c4db1133668888289f640fe843bd 100644 (file)
@@ -148,7 +148,7 @@ BOOST_AUTO_TEST_CASE (file_naming_test2)
                boost::filesystem::directory_iterator i = boost::filesystem::directory_iterator (film->file(film->dcp_name()));
                i != boost::filesystem::directory_iterator();
                ++i) {
-               if (boost::regex_match(i->path().string(), boost::regex(".*flt_red\\.png_.*\\.mxf"))) {
+               if (boost::regex_match(i->path().string(), boost::regex(".*flat_red\\.png_.*\\.mxf"))) {
                        ++got[0];
                } else if (boost::regex_match(i->path().string(), boost::regex(".*flat_green\\.png_.*\\.mxf"))) {
                        ++got[1];