commit | 258d51a6d8df19ce70b87b67c13e9d59e659649a | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Sun Feb 27 21:26:28 2022 -0500 |
committer | Davide Pesavento <davidepesa@gmail.com> | Tue Mar 08 18:52:34 2022 -0500 |
tree | 1ba4affb9e5aaa176d48b5b10a11a4d16ffcd778 | |
parent | 0838f3dacc55630c4a89d4c2a7a7aabef1d8208e [diff] [blame] |
encoding: make Block convertible to span Change-Id: Idb501467d1c56b95e7fdb76acda63b919fe98f85
diff --git a/tests/unit/util/simple-notification.hpp b/tests/unit/util/simple-notification.hpp index acfa172..ece2c48 100644 --- a/tests/unit/util/simple-notification.hpp +++ b/tests/unit/util/simple-notification.hpp
@@ -59,8 +59,7 @@ void wireDecode(const Block& block) { - m_message.assign(reinterpret_cast<const char*>(block.value()), - block.value_size()); + m_message = readString(block); // error for testing if (!m_message.empty() && m_message[0] == '\x07')