@@ -18,36 +18,32 @@ def test_entry_validation
1818EOA
1919 end
2020
21- assert_parse ( <<-EOA , :missing_tag , "id" , "entry" ) do
21+ assert_parse ( <<-EOA , :missing_tag , "id" , "entry" )
2222<entry xmlns="#{ Atom ::URI } "/>
2323EOA
24- end
2524
26- assert_parse ( <<-EOA , :missing_tag , "title" , "entry" ) do
25+ assert_parse ( <<-EOA , :missing_tag , "title" , "entry" )
2726<entry xmlns="#{ Atom ::URI } ">
2827 <id>urn:uuid:506e336c-a26e-4457-917b-b89dca7ae746</id>
2928</entry>
3029EOA
31- end
3230
33- assert_parse ( <<-EOA , :missing_tag , "updated" , "entry" ) do
31+ assert_parse ( <<-EOA , :missing_tag , "updated" , "entry" )
3432<entry xmlns="#{ Atom ::URI } ">
3533 <id>urn:uuid:506e336c-a26e-4457-917b-b89dca7ae746</id>
3634 <title>Example Entry</title>
3735</entry>
3836EOA
39- end
4037
41- assert_parse ( <<-EOA , :missing_tag , "author" , "entry" ) do
38+ assert_parse ( <<-EOA , :missing_tag , "author" , "entry" )
4239<entry xmlns="#{ Atom ::URI } ">
4340 <id>urn:uuid:506e336c-a26e-4457-917b-b89dca7ae746</id>
4441 <title>Example Entry</title>
4542 <updated>2003-10-10T18:30:02Z</updated>
4643</entry>
4744EOA
48- end
4945
50- assert_parse ( <<-EOA , :nothing_raised ) do
46+ assert_parse ( <<-EOA , :nothing_raised )
5147<entry xmlns="#{ Atom ::URI } ">
5248 <id>urn:uuid:506e336c-a26e-4457-917b-b89dca7ae746</id>
5349 <title>Example Entry</title>
@@ -57,7 +53,6 @@ def test_entry_validation
5753 </author>
5854</entry>
5955EOA
60- end
6156 end
6257
6358 def test_entry
0 commit comments