Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/ToStringPair.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-04-24 11:21:04 +0200
committerMartin Hořeňovský2026-04-24 11:21:04 +0200
commit11a96e186af8b2779d93e550217e9c95d3f89371 (patch)
tree0f478d0761c8a951c9c238f5504fa020929ae7fa /tests/SelfTest/UsageTests/ToStringPair.tests.cpp
parent10f62484bff73e3a58a411e2e10b4e1c13cfba9f (diff)
downloadcatch3-11a96e186af8b2779d93e550217e9c95d3f89371.tar.gz
Cleanups from static analysis
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringPair.tests.cpp')
-rw-r--r--tests/SelfTest/UsageTests/ToStringPair.tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SelfTest/UsageTests/ToStringPair.tests.cpp b/tests/SelfTest/UsageTests/ToStringPair.tests.cpp
index f5cb239c..b632b071 100644
--- a/tests/SelfTest/UsageTests/ToStringPair.tests.cpp
+++ b/tests/SelfTest/UsageTests/ToStringPair.tests.cpp
@@ -27,8 +27,8 @@ TEST_CASE( "std::vector<std::pair<std::string,int> > -> toString", "[toString][p
// This is pretty contrived - I figure if this works, anything will...
TEST_CASE( "pair<pair<int,const char *,pair<std::string,int> > -> toString", "[toString][pair]" ) {
- typedef std::pair<int,const char *> left_t;
- typedef std::pair<std::string,int> right_t;
+ using left_t = std::pair<int,const char *>;
+ using right_t = std::pair<std::string,int>;
left_t left( 42, "Arthur" );
right_t right( "Ford", 24 );