Commit ed15d573 authored by Johannes Knödtel's avatar Johannes Knödtel 🎶
Browse files

handle upper border case in string-length-ok? validator correctly

parent 01d5d714
......@@ -5,7 +5,7 @@
(v/defvalidator string-length-ok? [string]
{:default-message-format "%s is too long"}
(< (count string) 255))
(<= (count string) 255))
(v/defvalidator decimal-ok? [decimal max-int-digits max-frac-digits]
{:default-message-format "%s is too large or has too many digits after the point"}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment