mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-24 04:56:48 +02:00
19 lines
275 B
C++
19 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
|