diff options
Diffstat (limited to 'tests/functional/lang/eval-fail-call-primop.err.exp')
-rw-r--r-- | tests/functional/lang/eval-fail-call-primop.err.exp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-call-primop.err.exp b/tests/functional/lang/eval-fail-call-primop.err.exp new file mode 100644 index 000000000..19b407c47 --- /dev/null +++ b/tests/functional/lang/eval-fail-call-primop.err.exp @@ -0,0 +1,12 @@ +error: + … while calling the 'length' builtin + + at /pwd/lang/eval-fail-call-primop.nix:1:1: + + 1| builtins.length 1 + | ^ + 2| + + … while evaluating the first argument passed to builtins.length + + error: value is an integer while a list was expected |