double.js 172 B

12345678910111213
  1. 'use strict';
  2. var test = require('../../');
  3. test('double end', function (t) {
  4. function doEnd() {
  5. t.end();
  6. }
  7. t.equal(1 + 1, 2);
  8. t.end();
  9. setTimeout(doEnd, 5);
  10. });