summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/subs_in_out.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/subs_in_out.cc b/test/subs_in_out.cc
index 209602e5..f0a7e96f 100644
--- a/test/subs_in_out.cc
+++ b/test/subs_in_out.cc
@@ -12,6 +12,6 @@ int main (int argc, char* argv[])
libdcp::SubtitleAsset s ("foo", "bar", "baz");
s.read_xml (argv[1]);
- s.write_xml (cout);
+ cout << s.xml_as_string ();
return 0;
}