aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormupdt <25388474+mupdt@users.noreply.github.com>2022-12-21 07:01:57 -0500
committermupdt <25388474+mupdt@users.noreply.github.com>2022-12-21 07:01:57 -0500
commita33e45b60be5d8dc73bd800defee364d90a8d738 (patch)
treeed8f66fc18f1256dd96072c1fcf3eac0e032c586
parent1437582ccd3c4af51f34e43a77df5c8622e24d6c (diff)
primops `storeDir` test uses `settings.nixStore`
-rw-r--r--src/libexpr/tests/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/tests/primops.cc b/src/libexpr/tests/primops.cc
index 49fbc5e98..bcdc7086b 100644
--- a/src/libexpr/tests/primops.cc
+++ b/src/libexpr/tests/primops.cc
@@ -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) {