diff options
Diffstat (limited to 'tests/functional/lang/eval-fail-using-set-as-attr-name.err.exp')
-rw-r--r-- | tests/functional/lang/eval-fail-using-set-as-attr-name.err.exp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-using-set-as-attr-name.err.exp b/tests/functional/lang/eval-fail-using-set-as-attr-name.err.exp new file mode 100644 index 000000000..811d01b03 --- /dev/null +++ b/tests/functional/lang/eval-fail-using-set-as-attr-name.err.exp @@ -0,0 +1,11 @@ +error: + … while evaluating an attribute name + + at /pwd/lang/eval-fail-using-set-as-attr-name.nix:5:10: + + 4| in + 5| attr.${key} + | ^ + 6| + + error: value is a set while a string was expected |