assert that create_torrent returns a valid torrent_info pointer

This commit is contained in:
Arvid Norberg 2013-12-30 06:47:15 +00:00
parent 5b46be916b
commit 3f66a65917
1 changed files with 2 additions and 1 deletions

View File

@ -313,7 +313,8 @@ void run_elevator_test()
{ {
io_service ios; io_service ios;
file_pool fp; file_pool fp;
boost::intrusive_ptr<torrent_info> ti = ::create_torrent(0, 16, 6000); boost::intrusive_ptr<torrent_info> ti = ::create_torrent(NULL, 16, 6000);
TEST_CHECK(ti);
{ {
error_code ec; error_code ec;