summaryrefslogtreecommitdiff
path: root/test/subtitle_position_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/subtitle_position_test.cc')
-rw-r--r--test/subtitle_position_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/subtitle_position_test.cc b/test/subtitle_position_test.cc
index 05e305478..fb800b882 100644
--- a/test/subtitle_position_test.cc
+++ b/test/subtitle_position_test.cc
@@ -112,8 +112,8 @@ vpos_test(dcp::VAlign reference, float position, dcp::SubtitleStandard from, dcp
break;
}
- auto name = String::compose("vpos_test_%1_%2", standard, valign_to_string(reference));
- auto in = content_factory(String::compose("test/data/%1.xml", name));
+ auto name = fmt::format("vpos_test_{}_{}", standard, valign_to_string(reference));
+ auto in = content_factory(fmt::format("test/data/{}.xml", name));
auto film = new_test_film(name, in);
film->set_interop(to == dcp::Standard::INTEROP);