diff options
Diffstat (limited to 'test/testdata/eval-fail-assert-equal-function-direct.err.exp')
-rw-r--r-- | test/testdata/eval-fail-assert-equal-function-direct.err.exp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-assert-equal-function-direct.err.exp b/test/testdata/eval-fail-assert-equal-function-direct.err.exp new file mode 100644 index 0000000..f06d796 --- /dev/null +++ b/test/testdata/eval-fail-assert-equal-function-direct.err.exp | |||
@@ -0,0 +1,9 @@ | |||
1 | error: | ||
2 | … while evaluating the condition of the assertion '((x: x) == (x: x))' | ||
3 | at /pwd/lang/eval-fail-assert-equal-function-direct.nix:3:1: | ||
4 | 2| # This only compares a direct comparison and makes no claims about functions in nested structures. | ||
5 | 3| assert | ||
6 | | ^ | ||
7 | 4| (x: x) | ||
8 | |||
9 | error: distinct functions and immediate comparisons of identical functions compare as unequal | ||