Fix name clash

db4
Slava Pestov 2008-02-11 00:17:51 -06:00
parent bb429425e9
commit 81ac2f77f7
18 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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