Skip to content

Commit 7c66302

Browse files
authored
[Libc++][NFC] Fix typos in tests (#157699)
1 parent 71389a5 commit 7c66302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ void check_iterator_requirements() {
9999
// expected-note@*:* {{because 'not_move_assignable' does not satisfy '__cpp17_copy_assignable'}}
100100

101101
static_assert(std::__cpp17_iterator<not_copy_assignable>); // expected-error {{static assertion failed}}
102-
// expectted-note@*:* {{because 'not_copy_assignable' does not satisfy '__cpp17_copy_assignable'}}
102+
// expected-note@*:* {{because 'not_copy_assignable' does not satisfy '__cpp17_copy_assignable'}}
103103

104104
static_assert(std::__cpp17_iterator<diff_t_not_signed>); // expected-error {{static assertion failed}}
105-
// expectted-note@*:* {{'is_signed_v<__iter_diff_t<diff_t_not_signed> >' evaluated to false}}
105+
// expected-note-re@*:* {{because 'is_signed_v<__iter_diff_t<diff_t_not_signed>{{.*}}>' evaluated to false}}
106106
}
107107

108108
struct not_equality_comparable : valid_iterator<not_equality_comparable> {};

0 commit comments

Comments
 (0)