[libcxx-commits] [libcxx] [Libc++] Fix typos in tests (PR #157699)
Corentin Jabot via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 9 09:03:14 PDT 2025
https://github.com/cor3ntin created https://github.com/llvm/llvm-project/pull/157699
None
>From 1edca8401a0903dd8d419413291256b63949147c Mon Sep 17 00:00:00 2001
From: Corentin Jabot <corentinjabot at gmail.com>
Date: Tue, 9 Sep 2025 18:02:31 +0200
Subject: [PATCH] [Libc++] Fix typos in tests
---
.../test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp b/libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp
index c4462b26f5c92..e6cda068753c7 100644
--- a/libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp
+++ b/libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp
@@ -99,10 +99,10 @@ void check_iterator_requirements() {
// expected-note@*:* {{because 'not_move_assignable' does not satisfy '__cpp17_copy_assignable'}}
static_assert(std::__cpp17_iterator<not_copy_assignable>); // expected-error {{static assertion failed}}
- // expectted-note@*:* {{because 'not_copy_assignable' does not satisfy '__cpp17_copy_assignable'}}
+ // expected-note@*:* {{because 'not_copy_assignable' does not satisfy '__cpp17_copy_assignable'}}
static_assert(std::__cpp17_iterator<diff_t_not_signed>); // expected-error {{static assertion failed}}
- // expectted-note@*:* {{'is_signed_v<__iter_diff_t<diff_t_not_signed> >' evaluated to false}}
+ // expected-note@*:* {{because 'is_signed_v<__iter_diff_t<diff_t_not_signed>>' evaluated to false}}
}
struct not_equality_comparable : valid_iterator<not_equality_comparable> {};
More information about the libcxx-commits
mailing list