summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/executable/suite.rb2
-rw-r--r--test/functional/for_redcloth.rb2
-rw-r--r--test/functional/suite.rb2
-rwxr-xr-xtest/unit/suite.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/executable/suite.rb b/test/executable/suite.rb
index 4eb86c1..a6f4097 100644
--- a/test/executable/suite.rb
+++ b/test/executable/suite.rb
@@ -1,4 +1,4 @@
-require 'simplecov'
+require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'
require 'rubygems' unless defined? Gem
require 'shoulda-context'
diff --git a/test/functional/for_redcloth.rb b/test/functional/for_redcloth.rb
index 05c6e2d..32a1a1b 100644
--- a/test/functional/for_redcloth.rb
+++ b/test/functional/for_redcloth.rb
@@ -1,4 +1,4 @@
-require 'simplecov'
+require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'
$:.unshift File.expand_path('../../../lib', __FILE__)
diff --git a/test/functional/suite.rb b/test/functional/suite.rb
index f87ca0f..2bbc29c 100644
--- a/test/functional/suite.rb
+++ b/test/functional/suite.rb
@@ -1,4 +1,4 @@
-require 'simplecov'
+require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'
$VERBOSE = $CODERAY_DEBUG = true
diff --git a/test/unit/suite.rb b/test/unit/suite.rb
index 26ebe1b..7d20dc0 100755
--- a/test/unit/suite.rb
+++ b/test/unit/suite.rb
@@ -1,4 +1,4 @@
-require 'simplecov'
+require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'
require 'rubygems'