Skip to content

Commit

Permalink
Merge remote-tracking branch 'larskanis/fix-encoding-tests-v2'
Browse files Browse the repository at this point in the history
Conflicts:
	test/xml/test_node_encoding.rb

This is a more simple fix than commit da996ae .
  • Loading branch information
larskanis committed Jan 4, 2016
2 parents 062c7a4 + c038246 commit 6b5be24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/xml/test_node_encoding.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module XML
class TestNodeEncoding < Nokogiri::TestCase
def setup
super
@html = Nokogiri::HTML(File.read(HTML_FILE, encoding: Encoding::UTF_8), HTML_FILE)
@html = Nokogiri::HTML(File.open(HTML_FILE, "rb"))
end

def test_get_attribute
Expand Down

0 comments on commit 6b5be24

Please sign in to comment.