]> gitweb.factorcode.org Git - factor.git/blob - basis/compiler/crossref/crossref-tests.factor
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
[factor.git] / basis / compiler / crossref / crossref-tests.factor
1 USING: compiler.crossref fry kernel sequences tools.test vocabs words ;
2 IN: compiler.crossref.tests
3
4 ! Dependencies of all words should always be satisfied unless we're
5 ! in the middle of recompiling something
6 { { } } [
7     all-words dup [ subwords ] map concat append
8     H{ } clone '[ _ dependencies-satisfied? ] reject
9 ] unit-test