Skip to content

Commit 9708ab8

Browse files
committed
Call get_handler on Error class instead of module
1 parent c3c1477 commit 9708ab8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_get_handler
7272
LibXML::XML::Error.reset_handler
7373
end
7474
if saved_handler.nil?
75-
assert_nil(LibXML::XML::get_handler)
75+
assert_nil(LibXML::XML::Error.get_handler)
7676
else
7777
assert_equal(LibXML::XML::Error.get_handler, saved_handler)
7878
end

0 commit comments

Comments
 (0)