Skip to content

Commit 6d3c5d3

Browse files
committed
Updated style [skip ci]
1 parent b25dc36 commit 6d3c5d3

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

test/helper.hpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
#include <string_view>
88

99
template<typename T, typename U>
10-
void assert_equal(const T& left, const U& right, const std::source_location& loc = std::source_location::current()) {
10+
void assert_equal(
11+
const T& left,
12+
const U& right,
13+
const std::source_location& loc = std::source_location::current()
14+
) {
1115
if (left != right) {
1216
std::ostringstream message;
1317
message << left << " != " << right;
@@ -17,7 +21,10 @@ void assert_equal(const T& left, const U& right, const std::source_location& loc
1721
}
1822

1923
template<typename T>
20-
void assert_exception(const std::function<void(void)>& code, std::optional<std::string_view> message = std::nullopt) {
24+
void assert_exception(
25+
const std::function<void(void)>& code,
26+
std::optional<std::string_view> message = std::nullopt
27+
) {
2128
std::optional<T> exception;
2229
try {
2330
code();

test/pqxx_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#include <unordered_map>
88
#include <vector>
99

10-
#include <pqxx/pqxx>
1110
#include <pgvector/pqxx.hpp>
11+
#include <pqxx/pqxx>
1212

1313
#include "helper.hpp"
1414

0 commit comments

Comments
 (0)