diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-21 23:50:09 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-21 23:50:09 -0500 |
commit | 88d8f6ac4817e44fba0a4f086ea0b8c06234cdd7 (patch) | |
tree | c957613cf5a423fdb52bd77cbef06b43c849afaa /src/nix/app.cc | |
parent | 04de0dd0b4059c75115c780dae8ddc49a847b0e5 (diff) |
Expand tests to reproduce #7655
The original `builtins.getContext` test from
1d757292d0cb78beec32fcdfe15c2944a4bc4a95 would have caught this. The
problem is that b30be6b450f872f8be6dc8afa28f4b030fa8d1d1 adding
`builtins.appendContext` modified that test to make it test too much at
once, rather than adding a separate test.
We now have isolated tests for both functions, and also a property test
showing everything put together (in the form of an eta rule for strings
with context). This is better coverage and properly reproduces the bug.
Diffstat (limited to 'src/nix/app.cc')
0 files changed, 0 insertions, 0 deletions