diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/quotest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/quotest.cpp b/tests/quotest.cpp index f14edcc0..faad5a15 100644 --- a/tests/quotest.cpp +++ b/tests/quotest.cpp @@ -652,6 +652,11 @@ TEST_IMPL(visitResources) Uri uri { uriString }; clog << "Checking " << uriString.toStdString() << " -> " << uri.toDisplayString().toStdString() << endl; + if (auto matrixToUrl = uri.toUrl(Uri::MatrixToUri).toDisplayString(); + !matrixToUrl.startsWith("https://matrix.to/#/")) { + clog << "Incorrect matrix.to representation:" + << matrixToUrl.toStdString() << endl; + } ud.visitResource(connection(), uriString); if (spy.count() != 1) { clog << "Wrong number of signal emissions (" << spy.count() |