提交 8bd34664 编写于 作者: F fengjiayi

fix unit test error

上级 17c51d69
...@@ -78,7 +78,7 @@ TEST(BlockingQueue, SenderBlockingTest) { ...@@ -78,7 +78,7 @@ TEST(BlockingQueue, SenderBlockingTest) {
std::vector<size_t> res; std::vector<size_t> res;
while (true) { while (true) {
size_t elem; size_t elem;
if (!q.Receive(&elem) { if (!q.Receive(&elem)) {
break; break;
} }
res.push_back(elem); res.push_back(elem);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册