Explorar o código

fixed version string test

Krishty %!s(int64=4) %!d(string=hai) anos
pai
achega
930cc25c0e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/unit/utVersion.cpp

+ 1 - 1
test/unit/utVersion.cpp

@@ -48,7 +48,7 @@ TEST_F( utVersion, aiGetLegalStringTest ) {
     EXPECT_NE( lv, nullptr );
     std::string text( lv );
 
-    size_t pos( text.find( std::string( "2020" ) ) );
+    size_t pos( text.find( std::string( "2021" ) ) );
     EXPECT_NE( pos, std::string::npos );
 }