File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
example/cddl-files/validator/negative
test/Test/Codec/CBOR/Cuddle/CDDL Expand file tree Collapse file tree 3 files changed +6
-1
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ foo<a> = [a]
2
+
3
+ x = foo<uint, uint>
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ spec = do
55
55
describe " Negative" $ do
56
56
validateExpectFailure " example/cddl-files/validator/negative/unknown-name.cddl" $
57
57
UnboundReference " a"
58
- validateExpectFailure " example/cddl-files/validator/negative/mismatching -args.cddl" $
58
+ validateExpectFailure " example/cddl-files/validator/negative/too-few -args.cddl" $
59
59
MismatchingArgs " foo" [" a" , " b" ]
60
+ validateExpectFailure " example/cddl-files/validator/negative/too-many-args.cddl" $
61
+ MismatchingArgs " foo" [" a" ]
60
62
validateExpectFailure " example/cddl-files/validator/negative/args-to-postlude.cddl" $
61
63
ArgsToPostlude PTUInt [It (Literal (Value (VUInt 3 ) mempty ))]
You can’t perform that action at this time.
0 commit comments