summaryrefslogtreecommitdiff
path: root/test/BtRegistryTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:02:54 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:02:54 +0900
commitaa4ea8889c827df4b178b6ae6259b82e86bfbc5f (patch)
tree5e527bbdeb4f1703c615827ede961e11c2983440 /test/BtRegistryTest.cc
parenta7fcf83bdfabf213d80e32d72561764f82e6782d (diff)
clang-format-3.9
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() ==