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 /tests/lang/eval-okay-context-introspection.exp | |
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 'tests/lang/eval-okay-context-introspection.exp')
-rw-r--r-- | tests/lang/eval-okay-context-introspection.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-context-introspection.exp b/tests/lang/eval-okay-context-introspection.exp index 27ba77dda..03b400cc8 100644 --- a/tests/lang/eval-okay-context-introspection.exp +++ b/tests/lang/eval-okay-context-introspection.exp @@ -1 +1 @@ -true +[ true true true true true true ] |