Fix name clash
parent
bb429425e9
commit
81ac2f77f7
|
@ -56,7 +56,7 @@ M: vocab-link vocab-root
|
|||
dup "-tests.factor" vocab-dir+ vocab-path+
|
||||
dup resource-exists? [ , ] [ drop ] if
|
||||
|
||||
dup vocab-dir "test" path+ vocab-path+ dup
|
||||
dup vocab-dir "tests" path+ vocab-path+ dup
|
||||
?resource-path directory keys [ ".factor" tail? ] subset
|
||||
[ path+ , ] with each
|
||||
] { } make
|
||||
|
|
|
@ -39,7 +39,7 @@ $nl
|
|||
"Unit tests for a vocabulary are placed in test files in the same directory as the vocabulary source file (see " { $link "vocabs.loader" } "). Two possibilities are supported:"
|
||||
{ $list
|
||||
{ "Tests can be placed in a file named " { $snippet { $emphasis "vocab" } "-tests.factor" } "." }
|
||||
{ "Tests can be placed in files in the " { $snippet "test" } " subdirectory." }
|
||||
{ "Tests can be placed in files in the " { $snippet "tests" } " subdirectory." }
|
||||
}
|
||||
"The latter is used for vocabularies with more extensive test suites."
|
||||
$nl
|
||||
|
|
Loading…
Reference in New Issue