[education/rkward] rkward/autotests: Fix test

Thomas Friedrichsmeier null at kde.org
Sat May 18 16:10:55 BST 2024


Git commit fc806228ebd0e22539f94d3fe4771f8019693f8e by Thomas Friedrichsmeier.
Committed on 18/05/2024 at 15:10.
Pushed by tfry into branch 'master'.

Fix test

M  +2    -2    rkward/autotests/core_test.cpp

https://invent.kde.org/education/rkward/-/commit/fc806228ebd0e22539f94d3fe4771f8019693f8e

diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index 6ce30f4f3..c01f70544 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -382,9 +382,9 @@ private Q_SLOTS:
 		runCommandWithTimeout(new RCommand("local({x <- tempfile(); savehistory(x); readLines(x)})", RCommand::GetStringVector | RCommand::App), nullptr, [](RCommand *command) {
 			QCOMPARE(command->stringVector().filter(UNIQUE_STRING).size(), 1);
 		});
-		console->pipeUserCommand("timestamp(prefix=\"" UNIQUE_STRING "\"");
+		console->pipeUserCommand("timestamp(prefix=\"" UNIQUE_STRING "\")");
 		waitForAllFinished();
-		QCOMPARE(console->commandHistory().filter(UNIQUE_STRING).size(), 2);
+		QCOMPARE(console->commandHistory().filter(UNIQUE_STRING).size(), 3);
 	}
 
 	void RKDeviceTest() {


More information about the rkward-tracker mailing list