From 89c05efe22d2eec04ac4d7ea51bf5cd778f9a255 Mon Sep 17 00:00:00 2001 From: Miguel Portilla Date: Wed, 23 Mar 2016 19:25:02 -0400 Subject: [PATCH] Remove UTF8_checker from WSClient unit test. --- src/ripple/test/impl/WSClient_test.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/ripple/test/impl/WSClient_test.cpp b/src/ripple/test/impl/WSClient_test.cpp index 54738e78d..891fb83d6 100644 --- a/src/ripple/test/impl/WSClient_test.cpp +++ b/src/ripple/test/impl/WSClient_test.cpp @@ -1,4 +1,4 @@ -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2016 Ripple Labs Inc. @@ -21,8 +21,6 @@ #include #include #include -#include - #include namespace ripple { @@ -31,19 +29,8 @@ namespace test { class WSClient_test : public beast::unit_test::suite { public: - void - test_utf8checker() - { - beast::websocket::detail::utf8_checker utf8c; - - std::uint8_t buffer[] = {0Xff}; - expect(! utf8c.write(buffer, 3)); - } - void run() override { - test_utf8checker(); - using namespace jtx; Env env(*this); auto wsc = makeWSClient(env.app().config());