diff --git a/test/functions/test_base.rb b/test/functions/test_base.rb index 9ba3ed24..daa38156 100644 --- a/test/functions/test_base.rb +++ b/test/functions/test_base.rb @@ -252,7 +252,7 @@ def test_normalize_space_strings end def test_string_nil_without_context - doc = REXML::Document.new(<<-XML) + doc = REXML::Document.new(<<~XML) diff --git a/test/test_contrib.rb b/test/test_contrib.rb index f3ad0b6c..23ee35b1 100644 --- a/test/test_contrib.rb +++ b/test/test_contrib.rb @@ -80,7 +80,7 @@ def test_bad_doctype_Tobias # Peter Verhage def test_namespace_Peter - source = <<-EOF + source = <<~EOF @@ -377,7 +377,7 @@ def test_various_xpath end def test_entities_Holden_Glova - document = <<-EOL + document = <<~EOL diff --git a/test/test_core.rb b/test/test_core.rb index 8c33d834..5668b934 100644 --- a/test/test_core.rb +++ b/test/test_core.rb @@ -15,7 +15,7 @@ class Tester < Test::Unit::TestCase include Helper::Fixture include REXML def setup - @xsa_source = <<-EOL + @xsa_source = <<~EOL