Skip to content

Commit 2a80c24

Browse files
committed
Fix formatting
1 parent c3dd660 commit 2a80c24

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,8 @@ void test_T_assignment_sfinae() {
143143
struct X {
144144
operator void*();
145145
};
146-
static_assert(!std::is_assignable<V, X>::value,
147-
"no boolean conversion in operator=");
148-
static_assert(std::is_assignable<V, std::false_type>::value,
149-
"converted to bool in operator=");
146+
static_assert(!std::is_assignable<V, X>::value, "no boolean conversion in operator=");
147+
static_assert(std::is_assignable<V, std::false_type>::value, "converted to bool in operator=");
150148
}
151149
{
152150
struct X {};

libcxx/test/std/utilities/variant/variant.variant/variant.ctor/T.pass.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ void test_T_ctor_sfinae() {
6868
}
6969
{
7070
using V = std::variant<std::string, float>;
71-
static_assert(!std::is_constructible<V, int>::value,
72-
"no matching constructor");
71+
static_assert(!std::is_constructible<V, int>::value, "no matching constructor");
7372
}
7473
{
7574
using V = std::variant<std::unique_ptr<int>, bool>;
@@ -78,10 +77,8 @@ void test_T_ctor_sfinae() {
7877
struct X {
7978
operator void*();
8079
};
81-
static_assert(!std::is_constructible<V, X>::value,
82-
"no boolean conversion in constructor");
83-
static_assert(std::is_constructible<V, std::false_type>::value,
84-
"converted to bool in constructor");
80+
static_assert(!std::is_constructible<V, X>::value, "no boolean conversion in constructor");
81+
static_assert(std::is_constructible<V, std::false_type>::value, "converted to bool in constructor");
8582
}
8683
{
8784
struct X {};

0 commit comments

Comments
 (0)