Merge pull request #9217

7807f56 unit_tests: fix strtoul unit test (jeffro256)
This commit is contained in:
luigi1111 2024-03-07 21:38:04 -05:00
commit b23116424d
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1883,7 +1883,6 @@ TEST(parsing, strtoul)
p = "q"; p = "q";
endp = nullptr; endp = nullptr;
ul = std::strtoul(p, const_cast<char**>(&endp), 10); ul = std::strtoul(p, const_cast<char**>(&endp), 10);
EXPECT_EQ(0, errno);
EXPECT_EQ(0, ul); EXPECT_EQ(0, ul);
EXPECT_EQ(p, endp); EXPECT_EQ(p, endp);