Skip to content

Commit

Permalink
Simplified readMetadata_canParseFormsWithComments test
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Sep 30, 2024
1 parent f49862e commit a7a4bd9
Showing 1 changed file with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,22 @@ class FormMetadataParserTest {
<!-- Blah -->
<h:head>
<!-- Blah -->
<h:title>Two geopoints</h:title>
<h:title>Form with commenst</h:title>
<!-- Blah -->
<model>
<!-- Blah -->
<instance>
<!-- Blah -->
<data id="two-geopoints">
<data id="form-with-comments">
<!-- Blah -->
<location2 />
<name />
<location1 />
</data>
<!-- Blah -->
</instance>
<!-- Blah -->
<bind nodeset="/data/name" type="string" />
<bind nodeset="/data/location2" type="geopoint" />
<bind nodeset="/data/location1" type="geopoint" />
</model>
</h:head>
<h:body>
<!-- Blah -->
<input ref="/data/location1">
<!-- Blah -->
<label>Location</label>
</input>
<input ref="/data/name">
<label>Name</label>
</input>
<input ref="/data/location2">
<label>Location</label>
</input>
</h:body>
</h:html>
""".trimIndent().byteInputStream()
Expand Down

0 comments on commit a7a4bd9

Please sign in to comment.