var std = require('std'),
	compiler = require('../../lib/compiler'),
	a = require('../astMocks')
 
test('compiles something', a.static(1), function(output, assert) {
	assert.ok(!!std.strip(output))
})

/* UTIL */
var nameCount
function test(name, ast, fn) {
	nameCount = nameCount + 1 || 1
	module.exports['test ' +name+' '+nameCount] = function(assert) {
		var output = compile(ast)
		fn(output, assert)
		assert.done()
	}
}

function compile(ast) {
	return compiler.compileRaw(ast)
}

var std = require('std'),
	compiler = require('../../lib/compiler'),
	a = require('../astMocks')
 
test('compiles something', a.static(1), function(output, assert) {
	assert.ok(!!std.strip(output))
})

/* UTIL */
function test(name, ast, fn) {
	module.exports['test ' +name] = function(assert) {
		var output = compile(ast)
		fn(output, assert)
		assert.done()
	}
}

function compile(ast) {
	return compiler.compileRaw(ast)
}

Remove the silly name count incrementer
Remove the silly name count incrementer
