Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Ivanov <[email protected]>
  • Loading branch information
alexander-e1off committed Dec 3, 2024
1 parent 6ecd167 commit 10b24b5
Showing 1 changed file with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ static void test2_fromStringTest()
{
CompositeSequenceNumber compositeSeqNum;

bsl::string inputString("123-456", bmqtst::TestHelperUtil::allocator());
bsl::string inputString("123-456",
bmqtst::TestHelperUtil::allocator());

compositeSeqNum.fromString(errorDescription, inputString);
ASSERT(compositeSeqNum.isSet());
Expand All @@ -90,7 +91,8 @@ static void test2_fromStringTest()
{
CompositeSequenceNumber compositeSeqNum;

bsl::string inputString("00123-000456", bmqtst::TestHelperUtil::allocator());
bsl::string inputString("00123-000456",
bmqtst::TestHelperUtil::allocator());

compositeSeqNum.fromString(errorDescription, inputString);
ASSERT(compositeSeqNum.isSet());
Expand Down Expand Up @@ -129,7 +131,8 @@ static void test2_fromStringTest()
{
CompositeSequenceNumber compositeSeqNum;

bsl::string inputString("123_456", bmqtst::TestHelperUtil::allocator());
bsl::string inputString("123_456",
bmqtst::TestHelperUtil::allocator());
errorDescription.reset();

compositeSeqNum.fromString(errorDescription, inputString);
Expand All @@ -143,7 +146,8 @@ static void test2_fromStringTest()
{
CompositeSequenceNumber compositeSeqNum;

bsl::string inputString("1a23-456", bmqtst::TestHelperUtil::allocator());
bsl::string inputString("1a23-456",
bmqtst::TestHelperUtil::allocator());
errorDescription.reset();

compositeSeqNum.fromString(errorDescription, inputString);
Expand All @@ -157,7 +161,8 @@ static void test2_fromStringTest()
{
CompositeSequenceNumber compositeSeqNum;

bsl::string inputString("123-45a6", bmqtst::TestHelperUtil::allocator());
bsl::string inputString("123-45a6",
bmqtst::TestHelperUtil::allocator());
errorDescription.reset();

compositeSeqNum.fromString(errorDescription, inputString);
Expand Down Expand Up @@ -200,7 +205,8 @@ static void test2_fromStringTest()
CompositeSequenceNumber compositeSeqNum;

// Simulate unsigned int overflow
bsl::string inputString("11111111111-123", bmqtst::TestHelperUtil::allocator());
bsl::string inputString("11111111111-123",
bmqtst::TestHelperUtil::allocator());
errorDescription.reset();

compositeSeqNum.fromString(errorDescription, inputString);
Expand All @@ -215,7 +221,8 @@ static void test2_fromStringTest()
CompositeSequenceNumber compositeSeqNum;

// Simulate bsls::Types::Uint64 overflow
bsl::string inputString("123-111111111111111111111", bmqtst::TestHelperUtil::allocator());
bsl::string inputString("123-111111111111111111111",
bmqtst::TestHelperUtil::allocator());
errorDescription.reset();

compositeSeqNum.fromString(errorDescription, inputString);
Expand Down

0 comments on commit 10b24b5

Please sign in to comment.