diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 87149c11..269b935e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,4 +18,4 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Lint - run: cmake -D FORMAT_COMMAND=clang-format-14 -P cmake/lint.cmake + run: cmake -D FORMAT_COMMAND=clang-format -P cmake/lint.cmake diff --git a/tests/testHDF5IO.cpp b/tests/testHDF5IO.cpp index d30db704..0343a6fa 100644 --- a/tests/testHDF5IO.cpp +++ b/tests/testHDF5IO.cpp @@ -321,7 +321,8 @@ TEST_CASE("SWMRmode", "[hdf5io]") [](const std::string& cmd, std::promise promise) { #ifdef _WIN32 - _putenv_s("HDF5_USE_FILE_LOCKING", "FALSE"); // required on Windows to allow writer process to access file + // required on Windows to allow writer process to access file + _putenv_s("HDF5_USE_FILE_LOCKING", "FALSE"); #endif int ret = std::system(cmd.c_str()); promise.set_value(ret);