summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-06 08:36:30 +0200
committerGitHub <noreply@github.com>2021-05-06 08:36:30 +0200
commit42b07f713fcbf9228dbc9145a07f706285a17a5f (patch)
treed43c43f71d524839293dc58a756c3f561ee2646b /tests
parent4fee363d7df235d2b9275240a87474d9bd0de541 (diff)
parent3f078c99f6be160641b1c4782d2653b9d76a5ca8 (diff)
Merge pull request #37700 from Calinou/rename-ip-unix-tcp-server
Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscores
Diffstat (limited to 'tests')
-rw-r--r--tests/test_string.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_string.h b/tests/test_string.h
index 94d14517ae..486c17dbbd 100644
--- a/tests/test_string.h
+++ b/tests/test_string.h
@@ -860,10 +860,10 @@ TEST_CASE("[String] match") {
}
TEST_CASE("[String] IPVX address to string") {
- IP_Address ip0("2001:0db8:85a3:0000:0000:8a2e:0370:7334");
- IP_Address ip(0x0123, 0x4567, 0x89ab, 0xcdef, true);
- IP_Address ip2("fe80::52e5:49ff:fe93:1baf");
- IP_Address ip3("::ffff:192.168.0.1");
+ IPAddress ip0("2001:0db8:85a3:0000:0000:8a2e:0370:7334");
+ IPAddress ip(0x0123, 0x4567, 0x89ab, 0xcdef, true);
+ IPAddress ip2("fe80::52e5:49ff:fe93:1baf");
+ IPAddress ip3("::ffff:192.168.0.1");
String ip4 = "192.168.0.1";
CHECK(ip4.is_valid_ip_address());