mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
GH #1050 Foundation-tests: fix gcc -Wshadow warnings
This commit is contained in:
@@ -80,8 +80,8 @@ void StringTest::testTrimLeft()
|
||||
std::string s = "abc";
|
||||
assert (trimLeft(s) == "abc");
|
||||
}
|
||||
std::string s = " abc ";
|
||||
assert (trimLeft(s) == "abc ");
|
||||
std::string s2 = " abc ";
|
||||
assert (trimLeft(s2) == "abc ");
|
||||
{
|
||||
std::string s = " ab c ";
|
||||
assert (trimLeft(s) == "ab c ");
|
||||
|
||||
Reference in New Issue
Block a user