forked from premiere/premiere-libtorrent
assert that create_torrent returns a valid torrent_info pointer
This commit is contained in:
parent
5b46be916b
commit
3f66a65917
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue