Merge pull request #7493 from mupdt/primops-storeDir-test-non-standard-path

primops `storeDir` test uses `settings.nixStore`
This commit is contained in:
Eelco Dolstra 2022-12-22 16:18:48 +01:00 committed by GitHub
commit c9eee5a84d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -604,7 +604,7 @@ namespace nix {
TEST_F(PrimOpTest, storeDir) {
auto v = eval("builtins.storeDir");
ASSERT_THAT(v, IsStringEq("/nix/store"));
ASSERT_THAT(v, IsStringEq(settings.nixStore));
}
TEST_F(PrimOpTest, nixVersion) {