mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Various String handling cleanups (#6945)
Use the proper api (::clear(), isEmpty()) instead of doing comparisons/assignments of empty strings. Also fix mixture of tabs and spaces in the source code.
This commit is contained in:
@ -95,7 +95,7 @@ TEST_CASE("STA mode events are called both when using DHCP and static config", "
|
||||
delay(100);
|
||||
|
||||
REQUIRE(events == "connected,got_ip,disconnected,");
|
||||
events = String();
|
||||
events.clear();
|
||||
|
||||
// now run the same with static IP config saved above
|
||||
|
||||
|
Reference in New Issue
Block a user