aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/libstore/characterization.hh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/libstore/characterization.hh')
-rw-r--r--tests/unit/libstore/characterization.hh28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/unit/libstore/characterization.hh b/tests/unit/libstore/characterization.hh
deleted file mode 100644
index 46bf4b2e5..000000000
--- a/tests/unit/libstore/characterization.hh
+++ /dev/null
@@ -1,28 +0,0 @@
-#pragma once
-///@file
-
-namespace nix {
-
-/**
- * The path to the `unit-test-data` directory. See the contributing
- * guide in the manual for further details.
- */
-static Path getUnitTestData() {
- return getEnv("_NIX_TEST_UNIT_DATA").value();
-}
-
-/**
- * Whether we should update "golden masters" instead of running tests
- * against them. See the contributing guide in the manual for further
- * details.
- */
-static bool testAccept() {
- return getEnv("_NIX_TEST_ACCEPT") == "1";
-}
-
-constexpr std::string_view cannotReadGoldenMaster =
- "Cannot read golden master because another test is also updating it";
-
-constexpr std::string_view updatingGoldenMaster =
- "Updating golden master";
-}