Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 29, 2024
1 parent c0798cf commit e3c6036
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/atom/extra/boost/uuid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ struct hash<atom::extra::boost::UUID> {
};
} // namespace std

#endif
#endif
2 changes: 1 addition & 1 deletion src/atom/io/async_compress.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ class GetZipFileSize : public ZipOperation {
};
} // namespace atom::async::io

#endif // ASYNC_COMPRESS_HPP
#endif // ASYNC_COMPRESS_HPP
2 changes: 1 addition & 1 deletion src/atom/io/pushd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,4 @@ auto DirectoryStack::isEmpty() const -> bool {
void DirectoryStack::asyncGetCurrentDirectory(
const std::function<void(const std::filesystem::path&)>& handler) const {
impl_->asyncGetCurrentDirectory(handler);
}
}
2 changes: 1 addition & 1 deletion src/atom/io/pushd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ class DirectoryStack {
impl_; ///< Pointer to the implementation.
};

#endif // DIRECTORYSTACK_H
#endif // DIRECTORYSTACK_H
2 changes: 1 addition & 1 deletion tests/atom/extra/boost/math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ TEST(FinancialMathTest, ImpliedVolatility) {
EXPECT_NEAR(
FinancialMath<double>::impliedVolatility(10.4506, 100, 100, 0.05, 1),
0.2, 1e-2);
}
}
2 changes: 1 addition & 1 deletion tests/atom/extra/boost/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
2 changes: 1 addition & 1 deletion tests/atom/extra/boost/uuid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ TEST_F(UUIDTest, Hashing) {
std::hash<UUID> hash_fn;
size_t hash = hash_fn(uuid);
EXPECT_NE(hash, 0);
}
}
2 changes: 1 addition & 1 deletion tests/atom/io/async_compress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ TEST_F(AsyncCompressTest, GetZipFileSizeTest) {
getSize.start();
io_context.run();
ASSERT_GT(getSize.getSizeValue(), 0);
}
}
2 changes: 1 addition & 1 deletion tests/atom/io/async_glob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ TEST_F(AsyncGlobTest, HiddenFilesGlobTest) {
}
}

} // namespace atom::io::test
} // namespace atom::io::test
2 changes: 1 addition & 1 deletion tests/atom/io/async_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,4 @@ TEST_F(AsyncIOTest, AsyncDirectoryExists_NonExistentDirectory) {
});
io_context.run();
EXPECT_TRUE(callback_called);
}
}

0 comments on commit e3c6036

Please sign in to comment.