File: plan-failures--buffer.tap

package info (click to toggle)
node-tap 12.0.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,916 kB
  • sloc: makefile: 84; sh: 75
file content (85 lines) | stat: -rw-r--r-- 2,182 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
TAP version 13
ok 1 - pass then pass plan() ___/# time=[0-9.]+(ms)?/~~~ {
    1..1
    ok 1 - ok
}

not ok 2 - test count exceeds plan
  ---
  {"at":{"column":12,"file":"test-legacy/test/plan-failures.js","line":11},"plan":1,"source":"t[second]('extra')\n","test":"pass then pass plan()"}
  ...

ok 3 - pass then pass end() ___/# time=[0-9.]+(ms)?/~~~ {
    ok 1 - ok
    1..1
}

not ok 4 - test after end() was called
  ---
  {"at":{"column":12,"file":"test-legacy/test/plan-failures.js","line":11},"plan":1,"source":"t[second]('extra')\n","test":"pass then pass end()"}
  ...

ok 5 - pass then fail plan() ___/# time=[0-9.]+(ms)?/~~~ {
    1..1
    ok 1 - ok
}

not ok 6 - test count exceeds plan
  ---
  {"at":{"column":12,"file":"test-legacy/test/plan-failures.js","line":11},"plan":1,"source":"t[second]('extra')\n","test":"pass then fail plan()"}
  ...

ok 7 - pass then fail end() ___/# time=[0-9.]+(ms)?/~~~ {
    ok 1 - ok
    1..1
}

not ok 8 - test after end() was called
  ---
  {"at":{"column":12,"file":"test-legacy/test/plan-failures.js","line":11},"plan":1,"source":"t[second]('extra')\n","test":"pass then fail end()"}
  ...

not ok 9 - fail then pass plan() ___/# time=[0-9.]+(ms)?/~~~ {
    1..1
    not ok 1 - ok
      ---
      {"at":{"column":11,"file":"test-legacy/test/plan-failures.js","line":7},"source":"t[first]('ok')\n"}
      ...
    
    # failed 1 test
}

not ok 10 - fail then pass end() ___/# time=[0-9.]+(ms)?/~~~ {
    not ok 1 - ok
      ---
      {"at":{"column":11,"file":"test-legacy/test/plan-failures.js","line":7},"source":"t[first]('ok')\n"}
      ...
    
    1..1
    # failed 1 test
}

not ok 11 - fail then fail plan() ___/# time=[0-9.]+(ms)?/~~~ {
    1..1
    not ok 1 - ok
      ---
      {"at":{"column":11,"file":"test-legacy/test/plan-failures.js","line":7},"source":"t[first]('ok')\n"}
      ...
    
    # failed 1 test
}

not ok 12 - fail then fail end() ___/# time=[0-9.]+(ms)?/~~~ {
    not ok 1 - ok
      ---
      {"at":{"column":11,"file":"test-legacy/test/plan-failures.js","line":7},"source":"t[first]('ok')\n"}
      ...
    
    1..1
    # failed 1 test
}

1..12
# failed 8 of 12 tests
___/# time=[0-9.]+(ms)?/~~~