mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +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
|