Skip to content

Commit

Permalink
[C++] small test fix (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBudr authored Mar 20, 2024
1 parent fae3e45 commit 4c32cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbe-tool/src/test/cpp/FieldAccessOrderCheckTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3624,7 +3624,7 @@ TEST_F(FieldAccessOrderCheckTest, allowsEncodingAndDecodingAsciiInsideGroupInSch
AsciiInsideGroup::sbeSchemaVersion(),
BUFFER_LEN
);
char aOut[6];
char aOut[7] = {'\0'};
decoder.getA(aOut, 6);
EXPECT_STREQ(aOut, "GBPUSD");
AsciiInsideGroup::B &b = decoder.b();
Expand Down

0 comments on commit 4c32cfb

Please sign in to comment.