Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/test_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_get_handler
LibXML::XML::Error.reset_handler
end
if saved_handler.nil?
assert_nil(LibXML::XML::get_handler)
assert_nil(LibXML::XML::Error.get_handler)
else
assert_equal(LibXML::XML::Error.get_handler, saved_handler)
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def test_string_writer_does_not_leak_memory
rss_by_round << rss
end

assert_operator(rss_by_round.last - rss_by_round[1], :<, 5_000)
assert_operator(rss_by_round.last - rss_by_round[1], :<, 10_000)
end

private
Expand Down
Loading