Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirShaleev committed Apr 22, 2024
1 parent f89bc31 commit 6d3bb3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ip-address-tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ INSTANTIATE_TEST_SUITE_P(
));

template <typename T, size_t N1, size_t N2>
static void parse_unexpected_symbol(const T (&expected_address)[N1], const T (&expected_scope)[N2]) {
static void parse_unexpected_symbol(const T (&expected_address)[N1], const T (&expected_scope)[N2]) { // NOLINT(readability-function-cognitive-complexity)
using String = std::basic_string<T, std::char_traits<T>, std::allocator<T>>;
auto ip = ip_address::parse("2001:db8::1");
error_code err1 = error_code::no_error;
Expand Down
2 changes: 1 addition & 1 deletion tests/ipv6-address-tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ INSTANTIATE_TEST_SUITE_P(
));

template <typename T, size_t N1, size_t N2>
static void parse_unexpected_symbol(const T (&expected_address)[N1], const T (&expected_scope)[N2]) {
static void parse_unexpected_symbol(const T (&expected_address)[N1], const T (&expected_scope)[N2]) { // NOLINT(readability-function-cognitive-complexity)
using String = std::basic_string<T, std::char_traits<T>, std::allocator<T>>;
auto ip = ipv6_address::parse("2001:db8::1");
error_code err1 = error_code::no_error;
Expand Down

0 comments on commit 6d3bb3c

Please sign in to comment.