aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 09:34:58 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 09:57:20 -0600
commit742c23d7c5d90b681dcbce92846d57042d2ea467 (patch)
treeb6cf10333e15bc7b748744f7c7af805ca77f222c /test
parent8ac0e27adc8d14a77427351dede1757999c8c709 (diff)
downloadfixgen-742c23d7c5d90b681dcbce92846d57042d2ea467.tar.gz
fixgen-742c23d7c5d90b681dcbce92846d57042d2ea467.tar.bz2
fixgen-742c23d7c5d90b681dcbce92846d57042d2ea467.zip
Add support for ints
Diffstat (limited to 'test')
-rw-r--r--test/test_parser.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_parser.ml b/test/test_parser.ml
index c677869..941ac56 100644
--- a/test/test_parser.ml
+++ b/test/test_parser.ml
@@ -19,6 +19,7 @@ let rows_suite =
, test_parse "user: id _uuidv4\npurchases: id _uuidv4" )
; "Resolves conflicting names", `Quick, test_parse "purchases: name _uuidv4"
; "Supports names", `Quick, test_parse "purchases: name _name"
+ ; "Supports ints with min/max", `Quick, test_parse "purchases: name _int<1,20>"
]