From c031785b2fd04ff8a1c7b194080f11761c320142 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 7 Apr 2024 21:34:03 +0200 Subject: [PATCH] Update utVersion.cpp Adapt unittest --- test/unit/utVersion.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/utVersion.cpp b/test/unit/utVersion.cpp index bba97a135..838d2dd7f 100644 --- a/test/unit/utVersion.cpp +++ b/test/unit/utVersion.cpp @@ -48,18 +48,18 @@ TEST_F( utVersion, aiGetLegalStringTest ) { EXPECT_NE( lv, nullptr ); std::string text( lv ); - size_t pos = text.find(std::string("2023")); + size_t pos = text.find(std::string("2024")); EXPECT_NE(pos, std::string::npos); } -TEST_F( utVersion, aiGetVersionMinorTest ) { - EXPECT_EQ(aiGetVersionMinor(), 3U); -} - TEST_F( utVersion, aiGetVersionMajorTest ) { EXPECT_EQ( aiGetVersionMajor(), 5U ); } +TEST_F( utVersion, aiGetVersionMinorTest ) { + EXPECT_EQ(aiGetVersionMinor(), 4U); +} + TEST_F( utVersion, aiGetVersionPatchTest ) { EXPECT_EQ(aiGetVersionPatch(), 0U ); }