Fix a unit test that mistook MINOR ver for PATCH ver

This commit is contained in:
Hyunsu Cho 2020-02-21 07:11:59 +00:00
parent f4621f09c7
commit fcb2efbadd

View File

@ -54,7 +54,7 @@ TEST(Version, Basic) {
ptr = 0;
v = std::stoi(str, &ptr);
ASSERT_EQ(v, XGBOOST_VER_MINOR) << "patch: " << v;;
ASSERT_EQ(v, XGBOOST_VER_PATCH) << "patch: " << v;;
str = str.substr(ptr);
ASSERT_EQ(str.size(), 0);