diff options
author | sterni <sternenseemann@systemli.org> | 2022-10-19T16·50+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-10-20T02·35+0000 |
commit | 60363039ef8a3a93a4e776955f6606a1ec08a438 (patch) | |
tree | 36760edbca356a8557110fda3cfb9545652ad210 /tvix/eval/src/tests/nix_tests/eval-okay-eq.nix | |
parent | 0d9eabcaacf25816898116199683740e0e659911 (diff) |
test(tvix/eval): eval-okay-eq.nix can actually be tested r/5166
eval-okay-eq.nix is actually an ancient test case that used the ATerm syntax for the test result. It was disabled for a while, since the behavior got reverted for a bit, but works on any reasonably modern Nix implementation. This change matches my [C++ Nix PR]. [C++ Nix PR]: https://github.com/NixOS/nix/pull/7196 Change-Id: I602fd7c83a0bc104ab502c8b6a74e4591272be1a Reviewed-on: https://cl.tvl.fyi/c/depot/+/7045 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/eval-okay-eq.nix')
-rw-r--r-- | tvix/eval/src/tests/nix_tests/eval-okay-eq.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/nix_tests/eval-okay-eq.nix b/tvix/eval/src/tests/nix_tests/eval-okay-eq.nix new file mode 100644 index 000000000000..73d200b38141 --- /dev/null +++ b/tvix/eval/src/tests/nix_tests/eval-okay-eq.nix @@ -0,0 +1,3 @@ +["foobar" (rec {x = 1; y = x;})] +== +[("foo" + "bar") ({x = 1; y = 1;})] |