From afc6247c51be0c58fed85267b8f2ef283dea79a5 Mon Sep 17 00:00:00 2001 From: Martin Pokorny <89339813+mPokornyETM@users.noreply.github.com> Date: Thu, 18 Jan 2024 22:30:32 +0100 Subject: [PATCH] Update QgCtrlppcheckTests.ctl --- .../suite_CtrlppCheck/sub_app/scripts/QgCtrlppcheckTests.ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WinCC_OA_Test/TestSuites/suite_CtrlppCheck/sub_app/scripts/QgCtrlppcheckTests.ctl b/WinCC_OA_Test/TestSuites/suite_CtrlppCheck/sub_app/scripts/QgCtrlppcheckTests.ctl index 6eb0782..003bed2 100644 --- a/WinCC_OA_Test/TestSuites/suite_CtrlppCheck/sub_app/scripts/QgCtrlppcheckTests.ctl +++ b/WinCC_OA_Test/TestSuites/suite_CtrlppCheck/sub_app/scripts/QgCtrlppcheckTests.ctl @@ -25,7 +25,7 @@ class MockCppCheck : CppCheck { string s; fileToString(testFile, s, "UTF8"); - s = substr(s, 0, strpos(s, "\n")); // get fist lines + s = substr(s, 0, strpos(s, "\n")); // get first line const string key = "// start options: "; int idx = strpos(s, key);