diff --git a/Jenkinsfile b/Jenkinsfile index 964548f..e595f3e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,7 @@ pipeline { stage('Build') { steps { - bat '"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe" test_repos.sln /p:Configuration=Release' + bat '"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe" test_repos.sln /t:Build /p:Configuration=Release' } } diff --git a/test.cpp b/test.cpp index 27b9408..c069188 100644 --- a/test.cpp +++ b/test.cpp @@ -78,6 +78,6 @@ TEST(StringProcessorTest, InvalidString_ReturnsFalse) { char str[] = "Invalid string: apple,; banana; cherry"; bool isValid = is_string_valid(str); - EXPECT_TRUE(isValid); + EXPECT_FALSE(isValid); }