File: spawn--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 (97 lines) | stat: -rw-r--r-- 2,786 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
86
87
88
89
90
91
92
93
94
95
96
97
TAP version 13
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~spawn.js child ___/# time=[0-9.]+(ms)?/~~~
  ---
  {"args":["___/.*/~~~spawn.js","child"],"command":"___/.*(node(js)?|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":1}
  ...
{
    not ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~ {
        1..2
        ok 1 - first ___/# time=[0-9.]+(ms)?/~~~ {
            1..2
            ok 1 - true is ok
            ok 2 - doag is also okay
        }
        
        not ok 2 - second ___/# time=[0-9.]+(ms)?/~~~ {
            ok 1 - but that is ok
            ok 2 - this passes
            not ok 3 - nested failure
              ---
              {"at":{"column":10,"file":"test-legacy/test/spawn.js","line":18},"compare":"===","found":1,"source":"tt.equal(1, '1', 'nested failure')\n","wanted":"1"}
              ...
            
            1..3
            # failed 1 of 3 tests
        }
        
        # failed 1 of 2 tests
    }
    
    ok 2 - this passes
    not ok 3 - this fails
      ---
      {"at":{"column":3,"file":"test-legacy/test/spawn.js","line":32},"source":"t.fail('this fails')\n"}
      ...
    
    not ok 4 - async kid ___/# time=[0-9.]+(ms)?/~~~ {
        1..2
        ok 1 - second timeout
        not ok 2 - first timeout
          ---
          {"at":{"column":7,"file":"test-legacy/test/spawn.js","line":37,"method":"_onTimeout"},"foo":"blz","source":"t.ok(false, 'first timeout', { foo: 'blz' })\n"}
          ...
        
        # failed 1 of 2 tests
    }
    
    ok 5 - pass after async kid
    1..5
    # failed 3 of 5 tests
    ___/# time=[0-9.]+(ms)?/~~~
}

not ok 2 - nesting ___/# time=[0-9.]+(ms)?/~~~ {
    1..2
    ok 1 - first ___/# time=[0-9.]+(ms)?/~~~ {
        1..2
        ok 1 - true is ok
        ok 2 - doag is also okay
    }
    
    not ok 2 - second ___/# time=[0-9.]+(ms)?/~~~ {
        ok 1 - but that is ok
        ok 2 - this passes
        not ok 3 - nested failure
          ---
          {"at":{"column":10,"file":"test-legacy/test/spawn.js","line":18},"compare":"===","found":1,"source":"tt.equal(1, '1', 'nested failure')\n","wanted":"1"}
          ...
        
        1..3
        # failed 1 of 3 tests
    }
    
    # failed 1 of 2 tests
}

ok 3 - this passes
not ok 4 - this fails
  ---
  {"at":{"column":3,"file":"test-legacy/test/spawn.js","line":32},"source":"t.fail('this fails')\n"}
  ...

not ok 5 - async kid ___/# time=[0-9.]+(ms)?/~~~ {
    1..2
    ok 1 - second timeout
    not ok 2 - first timeout
      ---
      {"at":{"column":7,"file":"test-legacy/test/spawn.js","line":37,"method":"_onTimeout"},"foo":"blz","source":"t.ok(false, 'first timeout', { foo: 'blz' })\n"}
      ...
    
    # failed 1 of 2 tests
}

ok 6 - pass after async kid
1..6
# failed 4 of 6 tests
___/# time=[0-9.]+(ms)?/~~~