Skip to content

Commit e4bea02

Browse files
committed
cosmetic corrections
1 parent 9620d72 commit e4bea02

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/fast_test_coding_case_v2.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class fast_test_coding_case_v2
1818
decoder_v2_(DESC::instance())
1919
{}
2020

21-
bool
22-
encoding(const mfast::message_cref& msg_ref, const byte_stream& result, bool reset=false)
21+
bool encoding(const mfast::message_cref& msg_ref, const byte_stream& result, bool reset=false)
2322
{
2423
const int buffer_size = 128;
2524
char buffer[buffer_size];
@@ -32,8 +31,7 @@ class fast_test_coding_case_v2
3231
return false;
3332
}
3433

35-
bool
36-
decoding(const byte_stream& bytes, const mfast::message_cref& result, bool reset=false)
34+
bool decoding(const byte_stream& bytes, const mfast::message_cref& result, bool reset=false)
3735
{
3836
const char* first = bytes.data();
3937
mfast::message_cref msg = decoder_v2_.decode(first, first+bytes.size(), reset);

tests/sequence_encoder_decoder_v2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,4 @@ TEST_CASE("sequence with optional group encoder_V2/decoder_v2","[sequence_option
254254

255255
REQUIRE(test_case.encoding(test_7.cref(),"\xC0\x87\x81\xC0\xB2",true));
256256
REQUIRE(test_case.decoding("\xC0\x87\x81\xC0\xB2",test_7.cref(),true));
257-
}
257+
}

0 commit comments

Comments
 (0)