diff options
author | Mattes D <github@xoft.cz> | 2020-08-01 20:18:03 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-01 21:04:31 +0200 |
commit | 46398f4671012a0d913bd7bc0c70ffdc2645f2ac (patch) | |
tree | 11d766b1ce592e526b6cbac8d7a245208bdce26e /tests | |
parent | Added HandleCraftItem call to ShiftClickedResult to make sure achievements are awarded (#4791) (diff) | |
download | cuberite-46398f4671012a0d913bd7bc0c70ffdc2645f2ac.tar cuberite-46398f4671012a0d913bd7bc0c70ffdc2645f2ac.tar.gz cuberite-46398f4671012a0d913bd7bc0c70ffdc2645f2ac.tar.bz2 cuberite-46398f4671012a0d913bd7bc0c70ffdc2645f2ac.tar.lz cuberite-46398f4671012a0d913bd7bc0c70ffdc2645f2ac.tar.xz cuberite-46398f4671012a0d913bd7bc0c70ffdc2645f2ac.tar.zst cuberite-46398f4671012a0d913bd7bc0c70ffdc2645f2ac.zip |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/HTTP/UrlClientTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/HTTP/UrlClientTest.cpp b/tests/HTTP/UrlClientTest.cpp index 05844ca53..17f98ab70 100644 --- a/tests/HTTP/UrlClientTest.cpp +++ b/tests/HTTP/UrlClientTest.cpp @@ -114,7 +114,7 @@ int TestRequest1() { LOG("Running test 1"); auto evtFinished = std::make_shared<cEvent>(); - auto callbacks = cpp14::make_unique<cCallbacks>(evtFinished); + auto callbacks = std::make_unique<cCallbacks>(evtFinished); AStringMap options; options["MaxRedirects"] = "0"; auto res = cUrlClient::Get("http://github.com", std::move(callbacks), AStringMap(), AString(), options); @@ -138,7 +138,7 @@ int TestRequest2() { LOG("Running test 2"); auto evtFinished = std::make_shared<cEvent>(); - auto callbacks = cpp14::make_unique<cCallbacks>(evtFinished); + auto callbacks = std::make_unique<cCallbacks>(evtFinished); auto res = cUrlClient::Get("http://github.com", std::move(callbacks)); if (res.first) { @@ -160,7 +160,7 @@ int TestRequest3() { LOG("Running test 3"); auto evtFinished = std::make_shared<cEvent>(); - auto callbacks = cpp14::make_unique<cCallbacks>(evtFinished); + auto callbacks = std::make_unique<cCallbacks>(evtFinished); AStringMap options; options["MaxRedirects"] = "0"; auto res = cUrlClient::Get("https://github.com", std::move(callbacks), AStringMap(), AString(), options); @@ -184,7 +184,7 @@ int TestRequest4() { LOG("Running test 4"); auto evtFinished = std::make_shared<cEvent>(); - auto callbacks = cpp14::make_unique<cCallbacks>(evtFinished); + auto callbacks = std::make_unique<cCallbacks>(evtFinished); auto res = cUrlClient::Get("https://github.com", std::move(callbacks)); if (res.first) { |