Skip to content

Commit

Permalink
test: use double quote for string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 1, 2024
1 parent 0fbe7d5 commit b93d790
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parse/test_attribute_list_declaration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ class TestParseAttributeListDeclaration < Test::Unit::TestCase
def test_linear_performance_gt
seq = [10000, 50000, 100000, 150000, 200000]
assert_linear_performance(seq, rehearsal: 10) do |n|
REXML::Document.new('<!DOCTYPE schema SYSTEM "foo.dtd" [<!ATTLIST ' + " " * n + ' root v CDATA #FIXED "test">]>')
REXML::Document.new("<!DOCTYPE schema SYSTEM \"foo.dtd\" [<!ATTLIST " +
" " * n +
" root v CDATA #FIXED \"test\">]>")
end
end
end
Expand Down

0 comments on commit b93d790

Please sign in to comment.