Fix test compile
authorChristian Kamm <mail@ckamm.de>
Thu, 15 Oct 2015 13:52:58 +0000 (15:52 +0200)
committerChristian Kamm <mail@ckamm.de>
Thu, 15 Oct 2015 13:52:58 +0000 (15:52 +0200)
I regularly fix errors in the copies of the test sources that are
made in build/. Refactoring how these tests work could be worthwhile.

test/testowncloudpropagator.h

index 2347135d8d70dabfde8ace00e7b47670d4ff945c..ab3504ae1ab56ae6938d1fd10243cd7369ff50d4 100644 (file)
@@ -76,7 +76,7 @@ private slots:
         tests.append(Test("W/\"foo\"", "foo"));
 
         foreach (const auto& test, tests) {
-            QCOMPARE(parseEtag(test.first), test.second);
+            QCOMPARE(parseEtag(test.first), QByteArray(test.second));
         }
     }
 };