aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdutils
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-02-19 12:30:38 +0300
committerlevlam <levlam@telegram.org>2025-02-19 12:30:38 +0300
commita3a784e5775b2e33b2035bae773d97ac527466c6 (patch)
treedde3f827cf1bc53e7eb3869461171fe3fa129c13 /tdutils
parent906d543f3eaa983c89e5da5d51960fb105df596f (diff)
Remove redundant as_array usages.
Diffstat (limited to 'tdutils')
-rw-r--r--tdutils/test/MpscLinkQueue.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tdutils/test/MpscLinkQueue.cpp b/tdutils/test/MpscLinkQueue.cpp
index 10564d697..811397e47 100644
--- a/tdutils/test/MpscLinkQueue.cpp
+++ b/tdutils/test/MpscLinkQueue.cpp
@@ -5,7 +5,6 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "td/utils/common.h"
-#include "td/utils/format.h"
#include "td/utils/logging.h"
#include "td/utils/MpscLinkQueue.h"
#include "td/utils/port/thread.h"
@@ -49,7 +48,7 @@ TEST(MpscLinkQueue, one_thread) {
while (auto node = reader.read()) {
v.push_back(node.value().value());
}
- LOG_CHECK((v == std::vector<int>{1, 2, 3, 4})) << td::format::as_array(v);
+ LOG_CHECK((v == std::vector<int>{1, 2, 3, 4})) << v;
v.clear();
queue.push(create_node(5));
@@ -57,7 +56,7 @@ TEST(MpscLinkQueue, one_thread) {
while (auto node = reader.read()) {
v.push_back(node.value().value());
}
- LOG_CHECK((v == std::vector<int>{5})) << td::format::as_array(v);
+ LOG_CHECK((v == std::vector<int>{5})) << v;
}
{
@@ -71,7 +70,7 @@ TEST(MpscLinkQueue, one_thread) {
while (auto node = reader.read()) {
v.push_back(node.value().value());
}
- LOG_CHECK((v == std::vector<int>{3, 2, 1, 0})) << td::format::as_array(v);
+ LOG_CHECK((v == std::vector<int>{3, 2, 1, 0})) << v;
}
}