compile.fail.cpp tests are an anti-feature since they are too easy to
break when evolving code. This patch moves various allocator_mismatch
tests to .verify.cpp and normalizes the error messages from various
containers.
Details
Details
- Reviewers
philnik - Group Reviewers
Restricted Project - Commits
- rGce32e057333e: [libc++] Refactor allocator_mismatch.compile.fail.cpp -> .verify.cpp
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM % comment.
libcxx/test/std/containers/associative/map/allocator_mismatch.verify.cpp | ||
---|---|---|
15 | Let's not use the header name. That will just result in unnecessary refactorings later and doesn't really have any value compared to a generic match. It's not like we actually care from what header the error message is. |
Let's not use the header name. That will just result in unnecessary refactorings later and doesn't really have any value compared to a generic match. It's not like we actually care from what header the error message is.