aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/tests/path.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/tests/path.hh')
-rw-r--r--src/libstore/tests/path.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libstore/tests/path.hh b/src/libstore/tests/path.hh
new file mode 100644
index 000000000..0ac9bb9f2
--- /dev/null
+++ b/src/libstore/tests/path.hh
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <rapidcheck.h>
+
+#include "path.hh"
+
+namespace rc {
+using namespace nix;
+
+template<>
+struct Arbitrary<StorePath> {
+ static Gen<StorePath> arbitrary();
+};
+
+}