real-logic / simple-binary-encoding

Simple Binary Encoding (SBE) - High Performance Message Codec
Apache License 2.0
3.12k stars 523 forks source link

[C++] small test fix #980

Closed BenBudr closed 8 months ago

BenBudr commented 8 months ago

Small fix to one C++ test. EXPECT_STREQ macro expects a c-string (i.e. null-terminated), which aOut was not (explicitly). Extended buffer to accomodate zero byte and explicitly zeroed. Test was failing on my aging CentOS environment but passes now.