adjust test output for eval-fail-function-apply-dollar

This commit is contained in:
Max Headroom 2024-03-25 18:33:38 +01:00
parent 478c800896
commit ee50c7d033

View file

@ -1,26 +1,20 @@
error: error:
… from call site … from call site
at /pwd/lang/eval-fail-function-apply-dollar.nix:6:10: at /pwd/lang/eval-fail-function-apply-dollar.nix:6:10:
5| add = a: b: a + b; 5| add = a: b: a + b;
6| in add a $ a $ b 6| in add a $ a $ b
| ^ | ^
7| 7|
… while calling 'add' … while calling 'add'
at /pwd/lang/eval-fail-function-apply-dollar.nix:5:12: at /pwd/lang/eval-fail-function-apply-dollar.nix:5:12:
4| 4|
5| add = a: b: a + b; 5| add = a: b: a + b;
| ^ | ^
6| in add a $ a $ b 6| in add a $ a $ b
error: attempt to call something which is not a function but an integer error: attempt to call something which is not a function but an integer: 5
at /pwd/lang/eval-fail-function-apply-dollar.nix:6:14: at /pwd/lang/eval-fail-function-apply-dollar.nix:6:14:
5| add = a: b: a + b; 5| add = a: b: a + b;
6| in add a $ a $ b 6| in add a $ a $ b
| ^ | ^