     CoffeeScript.run code.toString(), {filename}
   catch error
     failures.push {filename, error}
-return !failures.length
-# vim:set ts=8 sw=2 sts=2:
+
+return not failures.length

args = process.argv.slice(2)
files = if args.length then args else fs.readdirSync 'test'
for file in files when file.match /\.coffee$/i
  if ! file.match /^x?test\//
    currentFile = filename = path.join 'test', file
  else
    currentFile = filename = file

# Log a message with a color.
global.log = (message, color, explanation) ->
  console.log color + message + reset + ' ' + (explanation or '')
# Easy print
global.say = console.log
# Debugging
global.xxx = ->
  console.log.apply console, arguments
