From c636358a04a27e19ee22bf7a2c9bf5e2afa3abb2 Mon Sep 17 00:00:00 2001 From: NAITOH Jun Date: Wed, 21 Aug 2024 09:49:09 +0900 Subject: [PATCH] Changed the XML description of the test code to `here document` format. --- test/test_stream.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/test_stream.rb b/test/test_stream.rb index 79e0fe9e..782066c2 100644 --- a/test/test_stream.rb +++ b/test/test_stream.rb @@ -89,11 +89,13 @@ def entity(content) end def test_entity_replacement - source = ' - - - ]>&la;&lala;' + source = <<-XML + + + +]>&la;&lala; + XML listener = MyListener.new class << listener