From ee5df0337bb0c79b392f0e41331c4ab645c5bbae Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Sun, 5 Aug 2018 20:04:49 +0200 Subject: [PATCH] Fix test in testQuoteBytesFunction: it should compare to QByteArray --- tests/test_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_functions.cpp b/tests/test_functions.cpp index b484ce1..e354bb3 100644 --- a/tests/test_functions.cpp +++ b/tests/test_functions.cpp @@ -92,7 +92,7 @@ void TestRustObject::testQuoteBytesFunction() // THEN auto r = person.quoteBytes("<<", ">>"); - QCOMPARE(r, QString("<>")); + QCOMPARE(r, QByteArray("<>")); } void TestRustObject::testStringFunction()