From b76cd7253a1d0e6ce2260071c375eae7a8141468 Mon Sep 17 00:00:00 2001 From: Kane York Date: Fri, 14 Aug 2020 19:04:30 -0700 Subject: feat(tvix): Re-enable language tests that needed a store Now that we have access to a store in tests, we can enable the tests that needed a store. Additionally, move the expected output files for disabled tests into the disabled folder. Change-Id: I2492d49d43b93c7c9b0463e4d3d2855a5a51365d Reviewed-on: https://cl.tvl.fyi/c/depot/+/1758 Tested-by: BuildkiteCI Reviewed-by: glittershark --- third_party/nix/src/tests/lang/evalstore-okay-context.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 third_party/nix/src/tests/lang/evalstore-okay-context.nix (limited to 'third_party/nix/src/tests/lang/evalstore-okay-context.nix') diff --git a/third_party/nix/src/tests/lang/evalstore-okay-context.nix b/third_party/nix/src/tests/lang/evalstore-okay-context.nix new file mode 100644 index 000000000000..90f82abe1c36 --- /dev/null +++ b/third_party/nix/src/tests/lang/evalstore-okay-context.nix @@ -0,0 +1,6 @@ +let s = "foo ${builtins.substring 33 100 (baseNameOf "${./evalstore-okay-context.nix}")} bar"; +in + if s != "foo evalstore-okay-context.nix bar" + then abort "context not discarded" + else builtins.unsafeDiscardStringContext s + -- cgit 1.4.1