mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 20:20:58 +01:00
The property test in fact found a bug: we were excluding numbers!
(cherry picked from commit 018e2571aa)
23 lines
376 B
C++
23 lines
376 B
C++
#include <gtest/gtest.h>
|
|
#include <gmock/gmock.h>
|
|
|
|
#include "store-api.hh"
|
|
|
|
namespace nix {
|
|
|
|
class LibStoreTest : public ::testing::Test {
|
|
public:
|
|
static void SetUpTestSuite() {
|
|
initLibStore();
|
|
}
|
|
|
|
protected:
|
|
LibStoreTest()
|
|
: store(openStore("dummy://"))
|
|
{ }
|
|
|
|
ref<Store> store;
|
|
};
|
|
|
|
|
|
} /* namespace nix */
|