Skip to content

Commit 183c919

Browse files
committed
Fixed tests.
1 parent eeb8d3d commit 183c919

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ void test() {
126126
#if _LIBCPP_HAS_EXCEPTIONS
127127
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
128128
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
129-
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
130-
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
129+
// expected-error-re@*:* 0-1{{call to deleted constructor of{{.*}}}}
130+
// expected-error-re@*:* 0-1{{call to deleted constructor of{{.*}}}}
131131
#endif
132132
}
133133
// clang-format on

libcxx/test/std/containers/sequences/array/array.creation/to_array.verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int main(int, char**) {
2828
{
2929
MoveOnly mo[] = {MoveOnly{3}};
3030
// expected-error@array:* {{to_array requires copy constructible elements}}
31-
// expected-error-re@array:* {{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
31+
// expected-error-re@array:* 0-1{{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
3232
// expected-error@array:* 0-1{{call to deleted constructor of 'MoveOnly'}}
3333
std::to_array(mo); // expected-note {{requested here}}
3434
}

0 commit comments

Comments
 (0)