Skip to content

Commit

Permalink
Apply formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts committed Jul 30, 2024
1 parent 0605d1e commit f88dfbb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions test/unit_tests/sundials/test_sundials_errors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,22 +171,25 @@ class SUNContextErrFunctionTests : public testing::Test
SUNContext sunctx;
};

static void firstHandler(int line, const char* func, const char* file, const char* msg,
SUNErrCode err_code, void* err_user_data, SUNContext sunctx)
static void firstHandler(int line, const char* func, const char* file,
const char* msg, SUNErrCode err_code,
void* err_user_data, SUNContext sunctx)
{
std::vector<int>* order = static_cast<std::vector<int>*>(err_user_data);
order->push_back(0);
}

static void secondHandler(int line, const char* func, const char* file, const char* msg,
SUNErrCode err_code, void* err_user_data, SUNContext sunctx)
static void secondHandler(int line, const char* func, const char* file,
const char* msg, SUNErrCode err_code,
void* err_user_data, SUNContext sunctx)
{
std::vector<int>* order = static_cast<std::vector<int>*>(err_user_data);
order->push_back(1);
}

static void thirdHandler(int line, const char* func, const char* file, const char* msg,
SUNErrCode err_code, void* err_user_data, SUNContext sunctx)
static void thirdHandler(int line, const char* func, const char* file,
const char* msg, SUNErrCode err_code,
void* err_user_data, SUNContext sunctx)
{
std::vector<int>* order = static_cast<std::vector<int>*>(err_user_data);
order->push_back(2);
Expand Down

0 comments on commit f88dfbb

Please sign in to comment.