Name: js-handler/node_modules/nodeunit/node_modules/tap/test/undefined_indented.js 
1:
var tap = require("../")
2:
 
3:
tap.test("consume yaml", function (t) {
4:
  t.plan(1)
5:
 
6:
  var s =
7:
    [ "not ok 1 beep boop"
8:
    , "  ---"
9:
    , "    stack:"
10:
    , "      - rawr"
11:
    , "      - dinosaurs"
12:
    , "  ..."
13:
    ].join("\n")
14:
  , c = tap.createConsumer()
15:
 
16:
  c.on("data", function (res) {
17:
    t.same(res, {
18:
      id: 1
19:
      , ok: false
20:
      , name: " beep boop" // <-- should perhaps .trim() this?
21:
      , stack: [ "rawr", "dinosaurs" ]
22:
    })
23:
    t.end()
24:
  })
25:
  c.write(s)
26:
  c.end()
27:
})