diff options
Diffstat (limited to 'src/libstore/tests/derived-path.hh')
-rw-r--r-- | src/libstore/tests/derived-path.hh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/libstore/tests/derived-path.hh b/src/libstore/tests/derived-path.hh index 506f3ccb1..98d61f228 100644 --- a/src/libstore/tests/derived-path.hh +++ b/src/libstore/tests/derived-path.hh @@ -12,8 +12,18 @@ namespace rc { using namespace nix; template<> -struct Arbitrary<DerivedPath::Opaque> { - static Gen<DerivedPath::Opaque> arbitrary(); +struct Arbitrary<SingleDerivedPath::Opaque> { + static Gen<SingleDerivedPath::Opaque> arbitrary(); +}; + +template<> +struct Arbitrary<SingleDerivedPath::Built> { + static Gen<SingleDerivedPath::Built> arbitrary(); +}; + +template<> +struct Arbitrary<SingleDerivedPath> { + static Gen<SingleDerivedPath> arbitrary(); }; template<> |