Skip to content

Commit

Permalink
use our new _validators accessor + minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Sep 12, 2024
1 parent 223d97d commit e9bdd0e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/tester.art
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {unitt}!

import ./"../src/validator.art"!

subHeader: function [hdr][
Expand Down Expand Up @@ -33,10 +32,7 @@ suite "Test function calls" [

print subHeader "Test validators"

loop sort list ./"../src/validators" 'location [
name: extract.filename location
do location
validator: to to :type ~"|name|Validator" []!
loop _validators [name, validator][
params: #[]

loop validator\params [nm,prm][
Expand Down

0 comments on commit e9bdd0e

Please sign in to comment.