unit_tests: fix strtoul unit test

This commit is contained in:
jeffro256 2024-03-07 16:10:01 +01:00 committed by selsta
parent 68e40ea2a7
commit 7807f569e4
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

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);