From 2069d3d16dacbf87d6e961bacffa9c4c4b5b6cb9 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 11 Jan 2010 23:14:23 -0500 Subject: [PATCH] Use color in tests if the redgreen package is around --- test/test_helper.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index 745419d..c41dd67 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,3 +1,8 @@ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'fakefs/safe' require 'test/unit' + +begin + require 'redgreen' +rescue LoadError +end \ No newline at end of file