comment about test_execution being the most important

This commit is contained in:
Jeremy Ashkenas
2009-12-31 18:09:48 -05:00
parent 26c89cef06
commit 43edd29d22

View File

@@ -5,6 +5,9 @@ class ExecutionTest < Test::Unit::TestCase
NO_WARNINGS = /\A(0 error\(s\), 0 warning\(s\)\n)+\Z/
ALLS_WELL = /\A\n?(true\n)+\Z/m
# This is by far the most important test. It evaluates all of the
# CoffeeScript in test/fixtures/execution, ensuring that all our
# syntax actually works.
def test_execution_of_coffeescript
sources = ['test/fixtures/execution/*.coffee'].join(' ')
assert `bin/coffee -r #{sources}`.match(ALLS_WELL)