File: throw--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 (44 lines) | stat: -rw-r--r-- 1,252 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
TAP version 13
not ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~ {
    1..3
    ok 1 - first ___/# time=[0-9.]+(ms)?/~~~ {
        1..2
        ok 1 - true is ok
        ok 2 - doag is also okay
    }
    
    not ok 2 - async thrower ___/# time=[0-9.]+(ms)?/~~~ {
        not ok 1 - THINK FAST! and also lines so many
          ---
          {"at":{"column":16,"file":"test-legacy/test/throw.js","line":12},"jerk":true,"source":"var er = new Error('THINK FAST!\\nand also lines\\nso many')\n","test":"async thrower"}
          ...
        
        1..1
        # failed 1 test
    }
    
    not ok 3 - thrower ___/# time=[0-9.]+(ms)?/~~~ {
        not ok 1 - here hold this for a second
          ---
          {"at":{"column":14,"file":"test-legacy/test/throw.js","line":18},"source":"var er = new Error('here hold this for a second')\n","syscall":"ring ring","test":"thrower"}
          ...
        
        1..1
        # failed 1 test
    }
    
    # failed 2 of 3 tests
}

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

not ok 4 - async kid ___/# time=[0-9.]+(ms)?/~~~ {
    1..2
    Bail out! cannot continue
}
Bail out! cannot continue