Skip to content

Commit

Permalink
Remove unnecessary StringIO.new
Browse files Browse the repository at this point in the history
* Remove unnecessary `StringIO.new`

Co-Authored-By: NAITOH Jun <[email protected]>
  • Loading branch information
vikiv480 and naitoh committed Aug 16, 2024
1 parent 60632a5 commit b7e9378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def teardown

def test_with_only_default_entities
member_value = "&lt;p&gt;#{'A' * @default_entity_expansion_text_limit}&lt;/p&gt;"
source = StringIO.new(<<-XML)
source = <<-XML
<?xml version="1.0" encoding="UTF-8"?>
<member>
#{member_value}
Expand Down

0 comments on commit b7e9378

Please sign in to comment.