summaryrefslogtreecommitdiff
path: root/test/BtRegistryTest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/BtRegistryTest.cc')
-rw-r--r--test/BtRegistryTest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/BtRegistryTest.cc b/test/BtRegistryTest.cc
index a1ace554..d6324e73 100644
--- a/test/BtRegistryTest.cc
+++ b/test/BtRegistryTest.cc
@@ -70,10 +70,10 @@ void BtRegistryTest::testGetDownloadContext_infoHash()
attrs1->infoHash = "hash1";
auto attrs2 = make_unique<TorrentAttribute>();
attrs2->infoHash = "hash2";
- btRegistry.getDownloadContext(1)
- ->setAttribute(CTX_ATTR_BT, std::move(attrs1));
- btRegistry.getDownloadContext(2)
- ->setAttribute(CTX_ATTR_BT, std::move(attrs2));
+ btRegistry.getDownloadContext(1)->setAttribute(CTX_ATTR_BT,
+ std::move(attrs1));
+ btRegistry.getDownloadContext(2)->setAttribute(CTX_ATTR_BT,
+ std::move(attrs2));
}
CPPUNIT_ASSERT(btRegistry.getDownloadContext("hash1"));
CPPUNIT_ASSERT(btRegistry.getDownloadContext("hash1").get() ==