[libcxx-commits] [libcxx] [Libc++][NFC] Fix typos in tests (PR #157699)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 9 09:03:52 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Corentin Jabot (cor3ntin)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/157699.diff
1 Files Affected:
- (modified) libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp (+2-2)
``````````diff
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> {};
``````````
</details>
https://github.com/llvm/llvm-project/pull/157699
More information about the libcxx-commits
mailing list