Skip to content

Commit

Permalink
test: fix filename case in a couple scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeltour committed Jul 16, 2020
1 parent a9bb42c commit 8f87b91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/resources/epub3/content-document-xhtml.feature
Original file line number Diff line number Diff line change
Expand Up @@ -722,17 +722,17 @@ Feature: EPUB 3 ▸ Content Documents ▸ XHTML Document Checks
And no other errors or warnings are reported

Scenario: Verify unprefixed HTML elements allowed inside prefixed `foreignObject`
When checking document 'svg-foreignobject-valid.xhtml'
When checking document 'svg-foreignObject-valid.xhtml'
Then no errors or warnings are reported

Scenario: Report `foreignObject` with disallowed body element
When checking document 'svg-foreignobject-with-body-error.xhtml'
When checking document 'svg-foreignObject-with-body-error.xhtml'
Then error RSC-005 is reported
And the message contains 'element "body" not allowed here'
And no other errors or warnings are reported

Scenario: Report `foreignObject` without flow content
When checking document 'svg-foreignobject-no-flow-error.xhtml'
When checking document 'svg-foreignObject-no-flow-error.xhtml'
Then error RSC-005 is reported
And the message contains 'element "title" not allowed here'
And no other errors or warnings are reported
Expand Down

0 comments on commit 8f87b91

Please sign in to comment.