aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/online.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-01-02 14:29:03 +0300
committerlevlam <levlam@telegram.org>2023-01-02 14:29:03 +0300
commit8b763bedafb3919040af6ce95906c4f6d80f2655 (patch)
tree20304d491b94259ce19199a1154a27e4e3dc068a /test/online.cpp
parent4258030967030bccac7368e9432b0ba036fe67ba (diff)
Move random_shuffle to tests.h.
Diffstat (limited to 'test/online.cpp')
-rw-r--r--test/online.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/online.cpp b/test/online.cpp
index 7f6210c89..1ffc5523f 100644
--- a/test/online.cpp
+++ b/test/online.cpp
@@ -23,6 +23,7 @@
#include "td/utils/port/signals.h"
#include "td/utils/Promise.h"
#include "td/utils/Random.h"
+#include "td/utils/tests.h"
#include <iostream>
#include <map>
@@ -437,7 +438,7 @@ class TestDownloadFile : public Task {
begin = end;
}
- random_shuffle(as_mutable_span(ranges_), rnd);
+ rand_shuffle(as_mutable_span(ranges_), rnd);
start_chunk();
}