summaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/fixtures.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-12 17:49:43 +0200
committerEgor Tensin <egor@tensin.name>2026-06-12 22:39:06 +0200
commit6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd (patch)
treeda2c0a81932306c52d192425743e5c9efe4ae88a /test/unit_tests/fixtures.hpp
parentminor fixes (diff)
downloadwinapi-common-6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd.tar.gz
winapi-common-6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd.zip
unify my .clang-format files
Diffstat (limited to 'test/unit_tests/fixtures.hpp')
-rw-r--r--test/unit_tests/fixtures.hpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp
index f3e8a8e..ce8e1f4 100644
--- a/test/unit_tests/fixtures.hpp
+++ b/test/unit_tests/fixtures.hpp
@@ -40,7 +40,9 @@ class WithParam {
public:
WithParam(const std::string& param_prefix) : m_value{find_param_value(param_prefix)} {}
- const std::string& get_value() { return m_value; }
+ const std::string& get_value() {
+ return m_value;
+ }
private:
static std::string find_param_value(const std::string& param_prefix) {
@@ -61,14 +63,18 @@ class WithEchoExe : public WithParam {
public:
WithEchoExe() : WithParam{"--echo_exe="} {}
- const std::string& get_echo_exe() { return get_value(); }
+ const std::string& get_echo_exe() {
+ return get_value();
+ }
};
class WithWorkerExe : public WithParam {
public:
WithWorkerExe() : WithParam{"--worker_exe="}, m_cmd{worker::Command::create()} {}
- const std::string& get_worker_exe() { return get_value(); }
+ const std::string& get_worker_exe() {
+ return get_value();
+ }
worker::Command::Shared m_cmd;
};