test('co(function) -> promise: return reject promise', function () {
  return co(function () {
    return Promise.reject(1)
  }).catch(function (data) {
    test.strictEqual(data, 1)