Skip to content

Commit

Permalink
Intentionally break '[A.3] A field with a value out of compliance' test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-nist committed Feb 16, 2024
1 parent b345a0e commit 2b4f87c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@
</motherboard>
</computer>
</x:context>
<x:expect label="brings an error">
<mx:report cf="..." test="not(.=('at','atx','mini-itx'))" class="{ $mx:ACVC-class }"
matching="computer/motherboard/type" xpath="/computer/motherboard/type"
level="WARNING">Value <mx:code>CUSTOM</mx:code> does not appear among permissible (enumerated) values for this <mx:gi>type</mx:gi>: <mx:code>at|atx|mini-itx</mx:code>.</mx:report>
<x:expect label="does the wrong thing so I can see it in GitHub">
<mx:report>Intentionally wrong, show me a XSpec error in the GitHub UI!</mx:report>
</x:expect>
</x:scenario>
<x:scenario label="[A.4] A field with a value out of compliance with its enumeration - extra whitespace">
Expand Down

0 comments on commit 2b4f87c

Please sign in to comment.