aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-14 02:01:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-14 02:01:37 +0300
commit1b6e5d984bad351f7ec96687854bfc52cfc83dac (patch)
treefe7dedbc189c63a82d6cdf2fd72fbf4d8a25f2ab /test
parentadd Handle class (diff)
downloadwinapi-common-1b6e5d984bad351f7ec96687854bfc52cfc83dac.tar.gz
winapi-common-1b6e5d984bad351f7ec96687854bfc52cfc83dac.zip
add .clang-format
Diffstat (limited to 'test')
-rw-r--r--test/handle.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/handle.cpp b/test/handle.cpp
index 32b5bc1..13551f4 100644
--- a/test/handle.cpp
+++ b/test/handle.cpp
@@ -12,13 +12,9 @@
BOOST_AUTO_TEST_SUITE(handle_tests)
BOOST_AUTO_TEST_CASE(null) {
- {
- winapi::Handle h{NULL};
- }
+ { winapi::Handle h{NULL}; }
BOOST_TEST(true, "NULL handle closed successfully");
- {
- winapi::Handle h{INVALID_HANDLE_VALUE};
- }
+ { winapi::Handle h{INVALID_HANDLE_VALUE}; }
BOOST_TEST(true, "INVALID_HANDLE_VALUE handle closed successfully");
}