mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 15:40:59 +01:00
tweak url parsing; add test case
This commit is contained in:
parent
4bdfeab5f4
commit
741a54df8f
129 changed files with 910 additions and 99 deletions
|
|
@ -77,7 +77,7 @@ TEST_F(GitUtilsTest, sink_basic)
|
|||
|
||||
// sink->createHardlink("foo-1.1/links/foo-2", CanonPath("foo-1.1/hello"));
|
||||
|
||||
auto result = repo->dereferenceSingletonDirectory(sink->sync());
|
||||
auto result = repo->dereferenceSingletonDirectory(sink->flush());
|
||||
auto accessor = repo->getAccessor(result, false, false);
|
||||
auto entries = accessor->readDirectory(CanonPath::root);
|
||||
ASSERT_EQ(entries.size(), 5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue