瀏覽代碼

fixed version string test

Krishty 4 年之前
父節點
當前提交
930cc25c0e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 );
     EXPECT_NE( lv, nullptr );
     std::string text( lv );
     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 );
     EXPECT_NE( pos, std::string::npos );
 }
 }