From e3c603608c0f939da8c8103fc9f61d2507502394 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 29 Sep 2024 01:21:30 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/atom/extra/boost/uuid.hpp | 2 +- src/atom/io/async_compress.hpp | 2 +- src/atom/io/pushd.cpp | 2 +- src/atom/io/pushd.hpp | 2 +- tests/atom/extra/boost/math.cpp | 2 +- tests/atom/extra/boost/system.cpp | 2 +- tests/atom/extra/boost/uuid.cpp | 2 +- tests/atom/io/async_compress.cpp | 2 +- tests/atom/io/async_glob.cpp | 2 +- tests/atom/io/async_io.cpp | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/atom/extra/boost/uuid.hpp b/src/atom/extra/boost/uuid.hpp index 36fc99a6..ea52bbd9 100644 --- a/src/atom/extra/boost/uuid.hpp +++ b/src/atom/extra/boost/uuid.hpp @@ -166,4 +166,4 @@ struct hash { }; } // namespace std -#endif \ No newline at end of file +#endif diff --git a/src/atom/io/async_compress.hpp b/src/atom/io/async_compress.hpp index 911c99a4..b5ad9c59 100644 --- a/src/atom/io/async_compress.hpp +++ b/src/atom/io/async_compress.hpp @@ -181,4 +181,4 @@ class GetZipFileSize : public ZipOperation { }; } // namespace atom::async::io -#endif // ASYNC_COMPRESS_HPP \ No newline at end of file +#endif // ASYNC_COMPRESS_HPP diff --git a/src/atom/io/pushd.cpp b/src/atom/io/pushd.cpp index 9f7efb9e..27998250 100644 --- a/src/atom/io/pushd.cpp +++ b/src/atom/io/pushd.cpp @@ -197,4 +197,4 @@ auto DirectoryStack::isEmpty() const -> bool { void DirectoryStack::asyncGetCurrentDirectory( const std::function& handler) const { impl_->asyncGetCurrentDirectory(handler); -} \ No newline at end of file +} diff --git a/src/atom/io/pushd.hpp b/src/atom/io/pushd.hpp index 75c67a98..fbbac712 100644 --- a/src/atom/io/pushd.hpp +++ b/src/atom/io/pushd.hpp @@ -152,4 +152,4 @@ class DirectoryStack { impl_; ///< Pointer to the implementation. }; -#endif // DIRECTORYSTACK_H \ No newline at end of file +#endif // DIRECTORYSTACK_H diff --git a/tests/atom/extra/boost/math.cpp b/tests/atom/extra/boost/math.cpp index 852ec8e6..921d1c9d 100644 --- a/tests/atom/extra/boost/math.cpp +++ b/tests/atom/extra/boost/math.cpp @@ -188,4 +188,4 @@ TEST(FinancialMathTest, ImpliedVolatility) { EXPECT_NEAR( FinancialMath::impliedVolatility(10.4506, 100, 100, 0.05, 1), 0.2, 1e-2); -} \ No newline at end of file +} diff --git a/tests/atom/extra/boost/system.cpp b/tests/atom/extra/boost/system.cpp index c07183ce..0f0c69a7 100644 --- a/tests/atom/extra/boost/system.cpp +++ b/tests/atom/extra/boost/system.cpp @@ -119,4 +119,4 @@ TEST(MakeResultTest, FunctionThrowsStdException) { auto result = makeResult(func); EXPECT_FALSE(result.hasValue()); EXPECT_EQ(result.error().value(), boost::system::errc::invalid_argument); -} \ No newline at end of file +} diff --git a/tests/atom/extra/boost/uuid.cpp b/tests/atom/extra/boost/uuid.cpp index b993611a..2e8183d4 100644 --- a/tests/atom/extra/boost/uuid.cpp +++ b/tests/atom/extra/boost/uuid.cpp @@ -102,4 +102,4 @@ TEST_F(UUIDTest, Hashing) { std::hash hash_fn; size_t hash = hash_fn(uuid); EXPECT_NE(hash, 0); -} \ No newline at end of file +} diff --git a/tests/atom/io/async_compress.cpp b/tests/atom/io/async_compress.cpp index 51f14424..4ad20f74 100644 --- a/tests/atom/io/async_compress.cpp +++ b/tests/atom/io/async_compress.cpp @@ -97,4 +97,4 @@ TEST_F(AsyncCompressTest, GetZipFileSizeTest) { getSize.start(); io_context.run(); ASSERT_GT(getSize.getSizeValue(), 0); -} \ No newline at end of file +} diff --git a/tests/atom/io/async_glob.cpp b/tests/atom/io/async_glob.cpp index d8242876..0cfef4f5 100644 --- a/tests/atom/io/async_glob.cpp +++ b/tests/atom/io/async_glob.cpp @@ -63,4 +63,4 @@ TEST_F(AsyncGlobTest, HiddenFilesGlobTest) { } } -} // namespace atom::io::test \ No newline at end of file +} // namespace atom::io::test diff --git a/tests/atom/io/async_io.cpp b/tests/atom/io/async_io.cpp index fca82ede..c9b45aee 100644 --- a/tests/atom/io/async_io.cpp +++ b/tests/atom/io/async_io.cpp @@ -374,4 +374,4 @@ TEST_F(AsyncIOTest, AsyncDirectoryExists_NonExistentDirectory) { }); io_context.run(); EXPECT_TRUE(callback_called); -} \ No newline at end of file +}