summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-20 13:48:37 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-20 13:48:37 +0100
commitb6746acdc852bb33a386cff6109e03d1791cb310 (patch)
treee15930428b31225a1955007291fa479a63fa3462
parentfb151e4285e8d2de330b728b23359139422b081c (diff)
Fix incorrect type name.
-rw-r--r--test/subtitle_charset_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/subtitle_charset_test.cc b/test/subtitle_charset_test.cc
index b15e3e70e..3c2407f7e 100644
--- a/test/subtitle_charset_test.cc
+++ b/test/subtitle_charset_test.cc
@@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE (subtitle_charset_test2)
shared_ptr<Content> content = content_factory (film, "test/data/osx.srt").front ();
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs ());
- shared_ptr<TextCaptionFile> ts = dynamic_pointer_cast<TextCaptionFile> (content);
+ shared_ptr<TextCaptionFileContent> ts = dynamic_pointer_cast<TextCaptionFileContent> (content);
BOOST_REQUIRE (ts);
/* Make sure we got the subtitle data from the file */
BOOST_REQUIRE_EQUAL (content->full_length().get(), 6052032);