Skip to content

Commit

Permalink
Commit code-only changes for clang support
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerkaraszewski committed Jul 24, 2024
1 parent 66492a5 commit b0a908d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/clustertest/tests/BadCommandTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
#include <test/clustertest/BedrockClusterTester.h>

struct BadCommandTest : tpunit::TestFixture {
BadCommandTest()
: tpunit::TestFixture("BadCommand", TEST(BadCommandTest::test)) { }
BadCommandTest() : tpunit::TestFixture("BadCommand") {
registerTests(TEST(BadCommandTest::test));
}

void test()
{
Expand Down Expand Up @@ -46,7 +47,7 @@ struct BadCommandTest : tpunit::TestFixture {
// This tests cases where keeping leader alive isn't feasible.
bool testFailed = false;
for (auto commandName : {"generatesegfaultpeek", "generateassertpeek", "generatesegfaultprocess"}) {

// Create the command with the current userID.
userID++;
SData command(commandName);
Expand Down

0 comments on commit b0a908d

Please sign in to comment.