Skip to content

Commit ac45fe7

Browse files
committed
don't load simplecov on Ruby 1.8.7
1 parent a302ace commit ac45fe7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/executable/suite.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'simplecov'
1+
require 'simplecov' if RUBY_VERSION >= '1.9'
22
require 'test/unit'
33
require 'rubygems' unless defined? Gem
44
require 'shoulda-context'

test/functional/for_redcloth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'simplecov'
1+
require 'simplecov' if RUBY_VERSION >= '1.9'
22
require 'test/unit'
33

44
$:.unshift File.expand_path('../../../lib', __FILE__)

test/functional/suite.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'simplecov'
1+
require 'simplecov' if RUBY_VERSION >= '1.9'
22
require 'test/unit'
33

44
$VERBOSE = $CODERAY_DEBUG = true

test/unit/suite.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'simplecov'
1+
require 'simplecov' if RUBY_VERSION >= '1.9'
22
require 'test/unit'
33
require 'rubygems'
44

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy