The context cardinality test specifies 'one or more URIs' but rejects the case of one URI. Change it to allow the one-URI case - the base context alone.
The negative test (zero contexts) could also be removed, since that will be caught by subsequent testing for the base context, but I left it in for the sake of a minimal diff.
Edit: added the analogous change for the type property, which is also specified as "one or more" but was rejecting the single-type case.
The context cardinality test specifies 'one or more URIs' but rejects the case of one URI. Change it to allow the one-URI case - the base context alone.
The negative test (zero contexts) could also be removed, since that will be caught by subsequent testing for the base context, but I left it in for the sake of a minimal diff.
Edit: added the analogous change for the
type
property, which is also specified as "one or more" but was rejecting the single-type case.Fixes #96, #97