Adding support for clang-format (#94)

This commit is contained in:
Erik Fröjdh
2020-05-04 16:16:23 +02:00
committed by GitHub
parent efcb6cf480
commit 4e4f06560c
4 changed files with 129 additions and 2 deletions

View File

@ -3,9 +3,9 @@
// #include "catch.hpp"
#define CATCH_CONFIG_RUNNER
#include "ToString.h"
#include "catch.hpp"
#include "sls_detector_defs.h"
#include "ToString.h"
#include "tests/config.h"
#include <string>
@ -43,7 +43,8 @@ int main(int argc, char *argv[]) {
test::type = slsDetectorDefs::GENERIC;
if (!test::detector_type.empty()) {
test::type = sls::StringTo<slsDetectorDefs::detectorType>(test::detector_type);
test::type =
sls::StringTo<slsDetectorDefs::detectorType>(test::detector_type);
}
return session.run();