summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-23 15:03:57 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-23 15:03:57 +0200
commit965b8f4d1be88e1ae75ef11e6270a7fbfb2d86bd (patch)
tree28fc6787ca383256cbce8a8e4c4c71c6842069c8
parentb89caf96d1cfc304c2114d8734ebe8b91337c799 (diff)
downloadcoderay-965b8f4d1be88e1ae75ef11e6270a7fbfb2d86bd.tar.gz
use -w in executable tests
-rw-r--r--test/executable/suite.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/executable/suite.rb b/test/executable/suite.rb
index 997405c..ac0ff1d 100644
--- a/test/executable/suite.rb
+++ b/test/executable/suite.rb
@@ -18,9 +18,9 @@ class TestCodeRayExecutable < Test::Unit::TestCase
EXE_COMMAND =
if RUBY_PLATFORM === 'java' && `ruby --ng -e '' 2> /dev/null` && $?.success?
# use Nailgun
- "#{RUBY_COMMAND}--ng -I%s %s"
+ "#{RUBY_COMMAND}--ng -w -I%s %s"
else
- "#{RUBY_COMMAND} -I%s %s"
+ "#{RUBY_COMMAND} -w -I%s %s"
end % [ROOT_DIR + 'lib', EXECUTABLE]
def coderay args, options = {}