summaryrefslogtreecommitdiff
path: root/test/UnitLoad.cpp
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2020-05-21 10:22:49 -0400
committerMichael Meeks <michael.meeks@collabora.com>2020-06-02 18:03:36 +0100
commitd2d0492245f85ea8e19cdab7b3608f6b4c31212b (patch)
tree6892de40113544791ce6cf3f0004f3238dc88f6d /test/UnitLoad.cpp
parentd89f50960925b303792462898e0bc4d6f52f876b (diff)
wsd: move LOOLProtocol::tokenize to Util::tokenize
The tokenizer(s) are more generic than the protocol logic, and are used from contexts that don't involve the protocol as such. Change-Id: Ie8c256bf11a91e466bff794021f41603c9596a7f
Diffstat (limited to 'test/UnitLoad.cpp')
-rw-r--r--test/UnitLoad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/UnitLoad.cpp b/test/UnitLoad.cpp
index 175697487..9179e66cb 100644
--- a/test/UnitLoad.cpp
+++ b/test/UnitLoad.cpp
@@ -159,7 +159,7 @@ UnitBase::TestResult UnitLoad::testExcelLoad()
const auto status = helpers::assertResponseString(socket, "status:", testname);
// Expected format is something like 'status: type=text parts=2 current=0 width=12808 height=1142 viewid=0\n...'.
- StringVector tokens(LOOLProtocol::tokenize(status, ' '));
+ StringVector tokens(Util::tokenize(status, ' '));
LOK_ASSERT_EQUAL(static_cast<size_t>(7), tokens.size());
}
catch (const Poco::Exception& exc)