summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-25 04:00:10 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-25 04:00:54 -0300
commitfd193641cd0a520beb3031decef6727b47bd99e8 (patch)
treef0256476b36dc622614b783a7b62650ae9ae93c0 /test
parentecf65052cee73e3db52e604b1fc08d91d4ea60df (diff)
downloadhighline-fd193641cd0a520beb3031decef6727b47bd99e8.tar.gz
Run Simplecov only for mri
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 161912b..65c7646 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,7 +1,8 @@
#!/usr/bin/env ruby
# coding: utf-8
-require 'simplecov'
+# Run code coverage only for mri
+require 'simplecov' if RUBY_ENGINE == 'ruby'
# Compatibility module for StringIO, File
# and Tempfile. Necessary for some tests.