Skip to content

Commit

Permalink
Add failing testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
LhKipp authored and rbock committed Jun 14, 2022
1 parent 892e680 commit c84f34d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ddl2cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ def testConstraint():
for text in [
"CONSTRAINT unique_person UNIQUE (first_name, last_name)",
"UNIQUE (id)",
"UNIQUE (first_name,last_name)"
]:
result = ddlConstraint.parseString(text, parseAll=True)
assert result.isConstraint
Expand Down

0 comments on commit c84f34d

Please sign in to comment.