From fb6e3f215774d48f7e0c6000cc7a9ebbc66ceb64 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 15 Feb 2021 21:03:49 +0100 Subject: Update quotest/quotest.cpp Co-authored-by: Alexey Rusakov --- quotest/quotest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index 2512df0d..bf29c434 100644 --- a/quotest/quotest.cpp +++ b/quotest/quotest.cpp @@ -513,7 +513,7 @@ TEST_IMPL(changeName) TEST_IMPL(showLocalUsername) { auto* const localUser = connection()->user(); - FINISH_TEST(localUser->name().contains("@")); + FINISH_TEST(!localUser->name().contains("@")); } TEST_IMPL(sendAndRedact) -- cgit v1.2.3