based

Opinionated utility library
git clone git://git.dimitrijedobrota.com/based.git
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING

commit 04470f2869d8a31019270bfcdf41bc6cf8c974d5
parent 9c27b6097475aed034e0459915881abb1f6fd2e0
author Dimitrije Dobrota < mail@dimitrijedobrota.com >
date Wed, 11 Jun 2025 20:12:29 +0200

Fix inconsistent test naming

Diffstat:
M test/source/utility/buffer_test.cpp | +++ ---
M test/source/utility/scopeguard_test.cpp | ++++ ----

2 files changed, 7 insertions(+), 7 deletions(-)


diff --git a/ test/source/utility/buffer_test.cpp b/ test/source/utility/buffer_test.cpp

@@ -8,7 +8,7 @@


template struct based::buffer<sizeof(void*)>;

TEST_CASE("valid type", "[template/buffer]")
TEST_CASE("valid type", "[utility/buffer]")
{
SECTION("small buffer")
{

@@ -29,7 +29,7 @@ TEST_CASE("valid type", "[template/buffer]")

}
}

TEST_CASE("buffer", "[template/buffer]")
TEST_CASE("buffer", "[utility/buffer]")
{
using namespace based::literals; // NOLINT(*namespace*)
using buffer = based::buffer<sizeof(based::size_t)>;

@@ -58,7 +58,7 @@ TEST_CASE("buffer", "[template/buffer]")

}
}

TEST_CASE("const buffer", "[template/buffer]")
TEST_CASE("const buffer", "[utility/buffer]")
{
using namespace based::literals; // NOLINT(*namespace*)
using buffer = based::buffer<sizeof(based::size_t)>;

diff --git a/ test/source/utility/scopeguard_test.cpp b/ test/source/utility/scopeguard_test.cpp

@@ -23,7 +23,7 @@ private:


template class based::scopeguard<set>;

TEST_CASE("manual", "[template/scopeguard]")
TEST_CASE("manual", "[utility/scopeguard]")
{
SECTION("commit")
{

@@ -50,7 +50,7 @@ TEST_CASE("manual", "[template/scopeguard]")

}
}

TEST_CASE("on success", "[template/scopeguard]")
TEST_CASE("on success", "[utility/scopeguard]")
{
SECTION("success")
{

@@ -77,7 +77,7 @@ TEST_CASE("on success", "[template/scopeguard]")

}
}

TEST_CASE("on failure", "[template/scopeguard]")
TEST_CASE("on failure", "[utility/scopeguard]")
{
SECTION("success")
{

@@ -104,7 +104,7 @@ TEST_CASE("on failure", "[template/scopeguard]")

}
}

TEST_CASE("exit", "[template/scopeguard]")
TEST_CASE("exit", "[utility/scopeguard]")
{
SECTION("success")
{