mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-16 03:06:17 +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
|