mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-28 08:36:15 +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
|