We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5409e1a + 235964b commit d4968b8Copy full SHA for d4968b8
test/lib/helper.rb
@@ -1,16 +1,11 @@
1
require "simplecov"
2
3
# Cannot use ".simplecov" file: simplecov-json triggers a circular require.
4
-begin
5
- require "simplecov-json"
6
- SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([
7
- SimpleCov::Formatter::HTMLFormatter,
8
- SimpleCov::Formatter::JSONFormatter,
9
- ])
10
-rescue LoadError
11
- # for `make test-bundled-gems` in ruby-core repository.
12
- # That task does not install C extension gem like json.
13
-end
+require "simplecov-json"
+SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([
+ SimpleCov::Formatter::HTMLFormatter,
+ SimpleCov::Formatter::JSONFormatter,
+])
14
15
SimpleCov.start do
16
command_name "Net::IMAP tests"
0 commit comments