aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/repl_characterization/data/regression_9918.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/repl_characterization/data/regression_9918.test')
-rw-r--r--tests/functional/repl_characterization/data/regression_9918.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/functional/repl_characterization/data/regression_9918.test b/tests/functional/repl_characterization/data/regression_9918.test
new file mode 100644
index 000000000..4a1931122
--- /dev/null
+++ b/tests/functional/repl_characterization/data/regression_9918.test
@@ -0,0 +1,16 @@
+ error:
+ … while evaluating the error message passed to builtin.throw
+
+ error: cannot coerce a list to a string: [ ]
+
+We expect to be able to see locals like r in the debugger:
+
+ nix-repl> r
+ [ ]
+
+ nix-repl> :env
+ Env level 0
+ static: x r
+
+ Env level 1
+ builtins true false null scopedImport import isNull break abort throw derivationStrict placeholder baseNameOf dirOf removeAttrs map toString fetchMercurial fetchTree fetchTarball fetchGit fromTOML derivation