Skip to content

Commit

Permalink
Fix jruby debug and also turn off jruby coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Jul 27, 2024
1 parent eb90120 commit 99ff56f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hearth/lib/hearth/xml/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def <<(*children)

@text << child
else
raise ArgumentError, 'expected Hearth::XML::Node or String, ' \
"got #{child.class}"
raise ArgumentError,
"expected Hearth::XML::Node or String, got #{child.class}"
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions hearth/spec/hearth/http/fields_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ module HTTP
end

describe '#inspect' do
it 'is to_h' do
expect(proxy.inspect).to eq(proxy.to_h)
it 'is to_h as a string' do
expect(proxy.inspect).to eq(proxy.to_h.to_s)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion hearth/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'simplecov'

unless ENV['NO_COVERAGE']
if !ENV['NO_COVERAGE'] && !defined?(JRUBY_VERSION)
SimpleCov.minimum_coverage 100
SimpleCov.start do
add_filter %r{/spec/}
Expand Down

0 comments on commit 99ff56f

Please sign in to comment.