summaryrefslogtreecommitdiff
path: root/test/combine_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-19 01:27:23 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-19 01:27:23 +0100
commitdb3517b6c73a995f0179b8942686e1fd4ae44744 (patch)
treeaebc72553a264faa0915a1825d40364acf822fd3 /test/combine_test.cc
parent58f998e8a1453ae80ca6b612f81f32488031f028 (diff)
Cleanup: tidy enum names for verification codes.
Diffstat (limited to 'test/combine_test.cc')
-rw-r--r--test/combine_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/combine_test.cc b/test/combine_test.cc
index 62b7ffd5..81fb08ba 100644
--- a/test/combine_test.cc
+++ b/test/combine_test.cc
@@ -89,7 +89,7 @@ check_no_errors (boost::filesystem::path path)
auto notes = dcp::verify (directories, &stage, &progress, xsd_test);
vector<dcp::VerificationNote> filtered_notes;
std::copy_if (notes.begin(), notes.end(), std::back_inserter(filtered_notes), [](dcp::VerificationNote const& i) {
- return i.code() != dcp::VerificationNote::NOT_SMPTE && i.code() != dcp::VerificationNote::SUBTITLE_TOO_SHORT;
+ return i.code() != dcp::VerificationNote::INVALID_STANDARD && i.code() != dcp::VerificationNote::INVALID_SUBTITLE_DURATION;
});
dump_notes (filtered_notes);
BOOST_CHECK (filtered_notes.empty());