Merge pull request #3774 from krishty/version-string-fix
Version string fix (if anyone cares)pull/3776/head^2
commit
0af558a11c
|
@ -53,7 +53,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
static const char *LEGAL_INFORMATION =
|
static const char *LEGAL_INFORMATION =
|
||||||
"Open Asset Import Library (Assimp).\n"
|
"Open Asset Import Library (Assimp).\n"
|
||||||
"A free C/C++ library to import various 3D file formats into applications\n\n"
|
"A free C/C++ library to import various 3D file formats into applications\n\n"
|
||||||
"(c) 2006-2020, assimp team\n"
|
"(c) 2006-2021, Assimp team\n"
|
||||||
"License under the terms and conditions of the 3-clause BSD license\n"
|
"License under the terms and conditions of the 3-clause BSD license\n"
|
||||||
"https://www.assimp.org\n";
|
"https://www.assimp.org\n";
|
||||||
|
|
||||||
|
|
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue