dht test fix

This commit is contained in:
Arvid Norberg 2008-03-31 03:56:38 +00:00
parent cbec649327
commit 4328326ca1
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ int test_main()
std::vector<node_entry> temp; std::vector<node_entry> temp;
std::generate(tmp.begin(), tmp.end(), &std::rand); std::generate(tmp.begin(), tmp.end(), &std::rand);
table.find_node(tmp, temp, false, nodes.size()); table.find_node(tmp, temp, false, nodes.size() + 1);
std::cout << "returned: " << temp.size() << std::endl; std::cout << "returned: " << temp.size() << std::endl;
TEST_CHECK(temp.size() == nodes.size()); TEST_CHECK(temp.size() == nodes.size());