mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
unit_tests: fix strtoul unit test
This commit is contained in:
parent
7b7958bbd9
commit
399b884a9c
@ -1899,7 +1899,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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user