summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-14 23:39:00 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-14 23:39:00 +0000
commitfebb57f618c0f932fca1f9f6400145b5ce1785d1 (patch)
tree3c30739e888245345b71ef25db7e8fd41ea2090f /test
parent65e7ad9b9512816a3313db7e817ed2466d84d644 (diff)
Try a bit of backwards compatibility in state file.
Diffstat (limited to 'test')
-rw-r--r--test/test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc
index 89a56872b..f8f51ddf5 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -520,7 +520,7 @@ BOOST_AUTO_TEST_CASE (job_manager_test)
BOOST_AUTO_TEST_CASE (stream_test)
{
- AudioStream a ("4 44100 1 hello there world");
+ AudioStream a ("4 44100 1 hello there world", boost::optional<int> (1));
BOOST_CHECK_EQUAL (a.id(), 4);
BOOST_CHECK_EQUAL (a.sample_rate(), 44100);
BOOST_CHECK_EQUAL (a.channel_layout(), 1);