This allows using Arbitrary "instances" defined in libstore-tests in libexpr-tests, something we will leverage in a moment.
16 lines
182 B
C++
16 lines
182 B
C++
#pragma once
|
|
|
|
#include <rapidcheck.h>
|
|
|
|
#include "path.hh"
|
|
|
|
namespace rc {
|
|
using namespace nix;
|
|
|
|
template<>
|
|
struct Arbitrary<StorePath> {
|
|
static Gen<StorePath> arbitrary();
|
|
};
|
|
|
|
}
|