mirror of
https://github.com/NixOS/nix
synced 2024-10-18 13:50:37 -04: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
|