File: stdin--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 (51 lines) | stat: -rw-r--r-- 1,024 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
TAP version 13
# before
ok 1 - fake stdin ___/# time=[0-9.]+(ms)?/~~~ {
    1..3
    ok 1 - child {
        1..1
        ok
    }
    ok 2 - empty {
        
    }
    ok 3
}

# between
#### TAP version 13
#### 1..3
#### ok 1 - child {
####     1..1
####     ok
#### }
#### ok 2 - empty {
####     
#### }
#### ok 3
# after
not ok 2 - /dev/stdin ___/# time=[0-9.]+(ms)?/~~~
  ---
  {"at":{"column":17,"file":"test-legacy/test/stdin.js","line":60},"failures":[{"id":4,"name":"expect to throw this","plan":{"end":3,"start":1},"tapError":"id greater than plan end"},{"id":4,"name":"expect to throw this","plan":{"end":3,"start":1},"tapError":"id greater than plan end"}],"source":"p.emit('error', new Error('expect to throw this'))\n","test":"/dev/stdin"}
  ...
{
    1..3
    ok 1 - child {
        1..1
        ok
    }
    ok 2 - empty {
        
    }
    ok 3
    
    not ok 4 - expect to throw this
    
    # test count(4) != plan(3)
    # failed 2 of 4 tests
}

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