aboutsummaryrefslogtreecommitdiff
path: root/quotest
diff options
context:
space:
mode:
Diffstat (limited to 'quotest')
-rw-r--r--quotest/quotest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp
index d006c7fb..764d5dfd 100644
--- a/quotest/quotest.cpp
+++ b/quotest/quotest.cpp
@@ -498,8 +498,8 @@ bool TestSuite::checkFileSendingOutcome(const TestToken& thisTest,
clog << "File event " << txnId.toStdString()
<< " arrived in the timeline" << endl;
- // This part tests visit()
- return visit(
+ // This part tests switchOnType()
+ return switchOnType(
*evt,
[&](const RoomMessageEvent& e) {
// TODO: check #366 once #368 is implemented