summaryrefslogtreecommitdiff
path: root/test/buildtool/common/repository_config.test.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-27 11:14:38 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-27 11:40:40 +0200
commitbc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 (patch)
tree4556b3f5f5898ef56316fc1612a04402b79903ef /test/buildtool/common/repository_config.test.cpp
parent340f3478dc2bffe1a75496e5c120e88274fee698 (diff)
downloadjustbuild-bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5.tar.gz
Reformat code to comply with clang-format 18
... while keeping our .clang-format file.
Diffstat (limited to 'test/buildtool/common/repository_config.test.cpp')
-rw-r--r--test/buildtool/common/repository_config.test.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/buildtool/common/repository_config.test.cpp b/test/buildtool/common/repository_config.test.cpp
index 4fd8362b..931ead30 100644
--- a/test/buildtool/common/repository_config.test.cpp
+++ b/test/buildtool/common/repository_config.test.cpp
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include "src/buildtool/common/repository_config.hpp"
+
#include <atomic>
#include <cstddef>
#include <filesystem>
@@ -24,7 +26,6 @@
#include "catch2/catch_test_macros.hpp"
#include "nlohmann/json.hpp"
#include "src/buildtool/common/artifact_digest.hpp"
-#include "src/buildtool/common/repository_config.hpp"
#include "src/buildtool/file_system/file_root.hpp"
#include "src/buildtool/file_system/file_system_manager.hpp"
#include "src/buildtool/storage/config.hpp"
@@ -86,8 +87,8 @@ template <class T>
}
// Read graph from CAS
-[[nodiscard]] auto ReadGraph(Storage const& storage, std::string const& hash)
- -> nlohmann::json {
+[[nodiscard]] auto ReadGraph(Storage const& storage,
+ std::string const& hash) -> nlohmann::json {
auto const& cas = storage.CAS();
auto blob = cas.BlobPath(
ArtifactDigest{hash, /*does not matter*/ 0, /*is_tree=*/false},