Skip to content

Commit

Permalink
Fix logic bug in testing term's definition length
Browse files Browse the repository at this point in the history
  • Loading branch information
reidspencer committed Dec 11, 2024
1 parent 6bf8dac commit 9f2c7bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ trait DefinitionValidation(using pc: PlatformContext) extends BasicValidation:
hasDescription = true
case t: Term =>
check(
t.definition.length > 10,
t.definition.length < 10,
s"${t.identify}'s definition is too short. It must be at least 10 characters'",
Warning,
t.loc
Expand Down

0 comments on commit 9f2c7bc

Please sign in to comment.