mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-24 04:56:48 +02:00
15 lines
276 B
C++
15 lines
276 B
C++
|
#include <gtest/gtest.h>
|
||
|
|
||
|
#include "local-binary-cache-store.hh"
|
||
|
|
||
|
namespace nix {
|
||
|
|
||
|
TEST(LocalBinaryCacheStore, constructConfig)
|
||
|
{
|
||
|
LocalBinaryCacheStoreConfig config{"local", "/foo/bar/baz", {}};
|
||
|
|
||
|
EXPECT_EQ(config.binaryCacheDir, "/foo/bar/baz");
|
||
|
}
|
||
|
|
||
|
} // namespace nix
|