[PATCH 2 of 3] Damn you line endings ;)

Wald Commits scm-commit at wald.intevation.org
Wed Apr 23 18:35:36 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398270850 0
# Node ID a166d740cb5a9ebb3a66877915f788f54e8f131d
# Parent  f9b0014cff9773841d5e05f62fa677c767204aab
Damn you line endings ;)

diff -r f9b0014cff97 -r a166d740cb5a ui/tests/createcertlisttest.cpp
--- a/ui/tests/createcertlisttest.cpp	Wed Apr 23 16:33:52 2014 +0000
+++ b/ui/tests/createcertlisttest.cpp	Wed Apr 23 16:34:10 2014 +0000
@@ -54,7 +54,7 @@
 
 void CreateCertListTest::testSha256Sum()
 {
-    QByteArray input = "foo";
+    QByteArray input = "foo\n";
     QByteArray output = sha256sum(input);
     QVERIFY(output.toBase64() == QByteArray("b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c"));
 }


More information about the Trustbridge-commits mailing list