aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.posix/test.fd.cc
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-29 17:16:22 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-29 17:16:22 +0100
commit4fa6821e0645ff61a9380cd090abff472205c630 (patch)
treebd95f13b2dc0bd9692681f50c365d2914a520bfe /nihil.posix/test.fd.cc
parente5180acf5f2dfac788e8c12886095ed1ac66fae5 (diff)
downloadnihil-4fa6821e0645ff61a9380cd090abff472205c630.tar.gz
nihil-4fa6821e0645ff61a9380cd090abff472205c630.tar.bz2
add clang-tidy support
Diffstat (limited to 'nihil.posix/test.fd.cc')
-rw-r--r--nihil.posix/test.fd.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/nihil.posix/test.fd.cc b/nihil.posix/test.fd.cc
index 8dff323..6b6394b 100644
--- a/nihil.posix/test.fd.cc
+++ b/nihil.posix/test.fd.cc
@@ -64,7 +64,7 @@ TEST_CASE("fd: move construct", "[fd]") {
REQUIRE(fd_is_open(fd1.get()));
auto fd2(std::move(fd1));
- REQUIRE(!fd1);
+ REQUIRE(!fd1); //NOLINT
REQUIRE(fd2);
REQUIRE(fd2.get() == file);
REQUIRE(fd_is_open(file));
@@ -82,7 +82,7 @@ TEST_CASE("fd: move assign", "[fd]") {
fd2 = std::move(fd1);
- REQUIRE(!fd1);
+ REQUIRE(!fd1); //NOLINT
REQUIRE(fd2);
REQUIRE(fd2.get() == file);
REQUIRE(fd_is_open(file));
@@ -94,7 +94,7 @@ TEST_CASE("fd: release", "[fd]") {
auto fd = nihil::fd(file);
auto fdesc = std::move(fd).release();
- REQUIRE(!fd);
+ REQUIRE(!fd); //NOLINT
REQUIRE(fdesc == file);
}