ed29eebcd751f7a2229ad67a02f739e0dc5eb16d
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 module.exports = function (t, a) {
4         a.deep(t({ foo: 'bar' }), ['foo'], "Object");
5         a.deep(t('raz'), ['0', '1', '2'], "Primitive");
6         a.throws(function () { t(); }, TypeError, "Undefined");
7         a.throws(function () { t(null); }, TypeError, "Undefined");
8 };