From 43edd29d2242d6378b639722dbf2d45d8188dd25 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Thu, 31 Dec 2009 18:09:48 -0500 Subject: [PATCH] comment about test_execution being the most important --- test/unit/test_execution.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/test_execution.rb b/test/unit/test_execution.rb index 0737fdd3..64efc8f8 100644 --- a/test/unit/test_execution.rb +++ b/test/unit/test_execution.rb @@ -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)