Skip to content

Commit

Permalink
don't load simplecov on Ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
korny committed Nov 24, 2019
1 parent a302ace commit ac45fe7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/executable/suite.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'simplecov'
require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'
require 'rubygems' unless defined? Gem
require 'shoulda-context'
Expand Down
2 changes: 1 addition & 1 deletion test/functional/for_redcloth.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'simplecov'
require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'

$:.unshift File.expand_path('../../../lib', __FILE__)
Expand Down
2 changes: 1 addition & 1 deletion test/functional/suite.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'simplecov'
require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'

$VERBOSE = $CODERAY_DEBUG = true
Expand Down
2 changes: 1 addition & 1 deletion test/unit/suite.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'simplecov'
require 'simplecov' if RUBY_VERSION >= '1.9'
require 'test/unit'
require 'rubygems'

Expand Down

0 comments on commit ac45fe7

Please sign in to comment.