mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 06:56:14 +02:00
e65510da56
Everything that is a separate subproject should live in the subprojects
directory.
Progress on #2503
This reverts commit 451f8a8c19
.
26 lines
494 B
C++
26 lines
494 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "legacy-ssh-store.hh"
|
|
|
|
namespace nix {
|
|
|
|
TEST(LegacySSHStore, constructConfig)
|
|
{
|
|
LegacySSHStoreConfig config{
|
|
"ssh",
|
|
"localhost",
|
|
StoreConfig::Params{
|
|
{
|
|
"remote-program",
|
|
// TODO #11106, no more split on space
|
|
"foo bar",
|
|
},
|
|
}};
|
|
EXPECT_EQ(
|
|
config.remoteProgram.get(),
|
|
(Strings{
|
|
"foo",
|
|
"bar",
|
|
}));
|
|
}
|
|
}
|