summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/error/valid-error.js
blob: e04cdb33b7cdf4fae09711f82cc9118244f3d0ec (plain)
1
2
3
4
5
6
7
8
9
'use strict';

module.exports = function (t, a) {
	var e = new Error();
	a(t(e), e, "Error");
	a.throws(function () {
		t({});
	}, "Other");
};