Lines 1-12
Link Here
|
1 |
--- test/endpoint.cpp.orig 1970-01-01 00:00:00 UTC |
|
|
2 |
+++ test/endpoint.cpp |
3 |
@@ -132,7 +132,8 @@ BOOST_AUTO_TEST_CASE(serialize_Domain) |
4 |
#ifndef HAS_CLASS_TEMPLATE_ARGUMENT_DEDUCTION |
5 |
<uint8_t, 13> |
6 |
#endif // HAS_CLASS_TEMPLATE_ARGUMENT_DEDUCTION |
7 |
- {0x03, 0x09, 'l', 'o', 'c', 'a', 'l', 'h', 'o', 's', 't', 0x01, 0xbb}; |
8 |
+ {0x03_u8, 0x09_u8, 0x6c_u8, 0x6f_u8, 0x63_u8, 0x61_u8, 0x6c_u8, |
9 |
+ 0x68_u8, 0x6f_u8, 0x73_u8, 0x74_u8, 0x01_u8, 0xbb_u8}; |
10 |
|
11 |
auto fact = array<uint8_t, 13>{}; |
12 |
auto len = serializeEndpoint(makeEndpoint(host, port), fact); |