Skip to content

Commit

Permalink
CEF parser: add invalid CEF example 6 from spec as test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ikluft committed Sep 13, 2023
1 parent cd9f00a commit d5aae83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yamllint disable rule:line-length
boudry-test1.cvotes:
error: "^weight not permitted without weight_allowed flag"
boudry-test2.cvotes:
Expand All @@ -11,3 +12,5 @@ cef-doc-invalid3.cvotes:
error: "^Syntax error at position 12, expected EMPTY_RANKING INT WORD"
cef-doc-invalid4.cvotes:
error: "^Syntax error at position 12, expected EMPTY_RANKING INT WORD"
cef-doc-invalid6.cvotes:
error: "^Syntax error at position 43, found EMPTY_RANKING '/EMPTY_RANKING/', expected INT WORD"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# My beautiful election
#/Candidates: Candidate A;Candidate B;Candidate C; Candidate D
#/Implicit Ranking: false

Candidate A > Candidate B > /EMPTY_RANKING/

0 comments on commit d5aae83

Please sign in to comment.