diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-27 11:14:38 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-27 11:40:40 +0200 |
commit | bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 (patch) | |
tree | 4556b3f5f5898ef56316fc1612a04402b79903ef /test/buildtool/crypto | |
parent | 340f3478dc2bffe1a75496e5c120e88274fee698 (diff) | |
download | justbuild-bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5.tar.gz |
Reformat code to comply with clang-format 18
... while keeping our .clang-format file.
Diffstat (limited to 'test/buildtool/crypto')
-rw-r--r-- | test/buildtool/crypto/hash_function.test.cpp | 3 | ||||
-rw-r--r-- | test/buildtool/crypto/hasher.test.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/buildtool/crypto/hash_function.test.cpp b/test/buildtool/crypto/hash_function.test.cpp index 61c92eb9..89c073f4 100644 --- a/test/buildtool/crypto/hash_function.test.cpp +++ b/test/buildtool/crypto/hash_function.test.cpp @@ -12,11 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include "src/buildtool/crypto/hash_function.hpp" + #include <string> #include <utility> // std::move #include "catch2/catch_test_macros.hpp" -#include "src/buildtool/crypto/hash_function.hpp" TEST_CASE("Hash Function", "[crypto]") { std::string bytes{"test"}; diff --git a/test/buildtool/crypto/hasher.test.cpp b/test/buildtool/crypto/hasher.test.cpp index 4f5e8448..8414cc81 100644 --- a/test/buildtool/crypto/hasher.test.cpp +++ b/test/buildtool/crypto/hasher.test.cpp @@ -12,11 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include "src/buildtool/crypto/hasher.hpp" + #include <string> #include <utility> // std::move #include "catch2/catch_test_macros.hpp" -#include "src/buildtool/crypto/hasher.hpp" template <Hasher::HashType type> void test_increment_hash(std::string const& bytes, std::string const& result) { |