Name: js-handler/node_modules/nodeunit/node_modules/tap/test/isolated-conf-test.js 
1:
// https://github.com/isaacs/node-tap/issues/24
2:
 
3:
var tap = require("../")
4:
  , test = tap.test
5:
 
6:
var config = {foo: "bar"}
7:
test("one", config, function(t) {
8:
  t.equal(t.conf.foo, "bar")
9:
  t.equal(t.conf.name, "one")  // before fix this would be "two"
10:
  t.end()
11:
})
12:
test("two", config, function(t) {
13:
  t.equal(t.conf.foo, "bar")
14:
  t.equal(t.conf.name, "two")
15:
  t.end()
16:
})