File: eval-fail-assert.err.exp

package info (click to toggle)
nix 2.32.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 14,140 kB
  • sloc: cpp: 99,127; sh: 10,241; perl: 689; yacc: 488; xml: 410; javascript: 383; lex: 333; ansic: 163; python: 135; sql: 56; makefile: 33; exp: 5; ruby: 1
file content (30 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
error:
       … while evaluating the attribute 'body'
         at /pwd/lang/eval-fail-assert.nix:7:3:
            6|
            7|   body = x "x";
             |   ^
            8| }

       … from call site
         at /pwd/lang/eval-fail-assert.nix:7:10:
            6|
            7|   body = x "x";
             |          ^
            8| }

       … while calling 'x'
         at /pwd/lang/eval-fail-assert.nix:3:5:
            2|   x =
            3|     arg:
             |     ^
            4|     assert arg == "y";

       … while evaluating the condition of the assertion '(arg == "y")'
         at /pwd/lang/eval-fail-assert.nix:4:5:
            3|     arg:
            4|     assert arg == "y";
             |     ^
            5|     123;

       error: string '"x"' is not equal to string '"y"'