误调试');



	error = null;
	template.onerror = function (e) {
		console.log(e)
		error = e;
	};
	template('debug-syntax', {});
	deepEqual({
		name: error.name
	}, {
		name: 'Syntax Error'
	}, '语法错误调试');

	template.onerror = onerror;
});

test('配置功能', function () {
	template.defaults.escape = false;
	template.defaults.openTag = '{{';
	template.defaults.closeTag = '}}';
	var data = {value: 'hello <em>world</em>'};
	equal(template.compile('{{=value}}')(data), 'hello <em>world</em>', '�