mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
Everything that is a separate subproject should live in the subprojects
directory.
Progress on #2503
This reverts commit 451f8a8c19.
18 lines
275 B
C++
18 lines
275 B
C++
#if ENABLE_S3
|
|
|
|
# include <gtest/gtest.h>
|
|
|
|
# include "s3-binary-cache-store.hh"
|
|
|
|
namespace nix {
|
|
|
|
TEST(S3BinaryCacheStore, constructConfig)
|
|
{
|
|
S3BinaryCacheStoreConfig config{"s3", "foobar", {}};
|
|
|
|
EXPECT_EQ(config.bucketName, "foobar");
|
|
}
|
|
|
|
} // namespace nix
|
|
|
|
#endif
|