Skip to content

Commit

Permalink
expose internal validators for the unit-testing tool
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Sep 12, 2024
1 parent 645a65e commit 223d97d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/validator.art
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ export module [
; Public methods
;---------------------------

_validators: method.public [][
; meant to be used
; mainly by the unit-tests
return \validators
]

valid?: method.public [str :string :block][
;; description: « check if given string is valid
;; options: [
Expand Down

0 comments on commit 223d97d

Please sign in to comment.