From 436ad736e9c5de0660009d41211f0c2e27f2d53b Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Fri, 27 Jul 2018 02:07:48 +0200 Subject: [PATCH] Use the correct variable --- tests/test_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_shared.cpp b/tests/test_shared.cpp index 042b20d..701f761 100644 --- a/tests/test_shared.cpp +++ b/tests/test_shared.cpp @@ -79,7 +79,7 @@ TEST_F(SharedCTest, test_write_desktop_file_exec) { vector installedData(installedStrmSize, '\0'); originalStrm.read(originalData.data(), originalData.size()); - installedStrm.read(installedData.data(), originalData.size()); + installedStrm.read(installedData.data(), installedData.size()); vector originalLines = splitString(originalData.data(), '\n'); vector installedLines = splitString(installedData.data(), '\n'); -- 2.11.4.GIT